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

Commit 6c8b216

Browse files
fix(stack): fix the fixing fix of showing remote branches 😭
1 parent 914c4ed commit 6c8b216

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
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", "--all", "--format=%(refname:short)"]))
138+
config(cmd.args(["branch", "--list", "--format=%(refname:short)"]))
139139
})
140140
}
141141

src/main.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ fn main() {
178178
cmd.arg(&current_branch)
179179
})?
180180
} else {
181-
let mut branches = branches(&config, &|cmd| cmd.arg(base))?;
181+
let mut branches = branches(&config, &|cmd| cmd.arg(base).arg("--all"))?;
182182
branches.push("HEAD".to_owned());
183183
branches
184184
};

0 commit comments

Comments
 (0)