]> git.ipfire.org Git - thirdparty/git.git/blobdiff - branch.c
worktree: drop get_worktrees() unused 'flags' argument
[thirdparty/git.git] / branch.c
index 579494738a7f804974d2b396a1c795acd4a44789..c5b19415715bcae2302b91ff716a7f3c6f035bff 100644 (file)
--- a/branch.c
+++ b/branch.c
@@ -369,7 +369,7 @@ int replace_each_worktree_head_symref(const char *oldref, const char *newref,
                                      const char *logmsg)
 {
        int ret = 0;
-       struct worktree **worktrees = get_worktrees(0);
+       struct worktree **worktrees = get_worktrees();
        int i;
 
        for (i = 0; worktrees[i]; i++) {