Skip to content
This repository was archived by the owner on Dec 12, 2024. It is now read-only.

Commit 5412085

Browse files
fix: include --remote flag in branch listing
This lets folks select branches that may be only present in remotes.
1 parent 1bd8da6 commit 5412085

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ where
135135

136136
pub fn list_branches_cmd(config: impl FnOnce(&mut Command) -> &mut Command) -> EasyCommand {
137137
EasyCommand::new_with("git", |cmd| {
138-
config(cmd.args(["branch", "--list", "--format=%(refname:short)"]))
138+
config(cmd.args(["branch", "--list", "--remote", "--format=%(refname:short)"]))
139139
})
140140
}
141141

0 commit comments

Comments
 (0)