Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
t7610: run 'git reset --hard' after each test to clean up
[gitweb.git]
/
branch.c
diff --git
a/branch.c
b/branch.c
index 0d459b3cfe507b3906760fbea7f35e6191366057..c431cbf6a9f08dedc791317cc1a357730bdf3515 100644
(file)
--- a/
branch.c
+++ b/
branch.c
@@
-348,7
+348,7
@@
void die_if_checked_out(const char *branch, int ignore_current_worktree)
int replace_each_worktree_head_symref(const char *oldref, const char *newref)
{
int ret = 0;
- struct worktree **worktrees = get_worktrees();
+ struct worktree **worktrees = get_worktrees(
0
);
int i;
for (i = 0; worktrees[i]; i++) {