Merge branch 'ls/p4-empty-file-on-lfs'
[gitweb.git] / builtin / branch.c
index 60cc5c8e8da08e628d05f245003bc558657f6237..475707528a83b2fc42518f9f1e23f14d8846cb38 100644 (file)
@@ -531,7 +531,7 @@ static void print_ref_list(struct ref_filter *filter, struct ref_sorting *sortin
 
 static void reject_rebase_or_bisect_branch(const char *target)
 {
-       struct worktree **worktrees = get_worktrees();
+       struct worktree **worktrees = get_worktrees(0);
        int i;
 
        for (i = 0; worktrees[i]; i++) {