Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Fix branches with slashes in their names not being listed (#24809)

Cole Miller8c780ba2872c
diff --git a/crates/git/src/repository.rs b/crates/git/src/repository.rs
index ffc7450858a..9fa8db69cbc 100644
--- a/crates/git/src/repository.rs
+++ b/crates/git/src/repository.rs
@@ -371,7 +371,7 @@ impl GitRepository for RealGitRepository {
"%(contents:subject)",
]
.join("%00");
- let args = vec!["for-each-ref", "refs/heads/*", "--format", &fields];
+ let args = vec!["for-each-ref", "refs/heads/**/*", "--format", &fields];
let output = new_std_command(&self.git_binary_path)
.current_dir(&working_directory)