]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/helper/test-ref-store.c
worktree: drop get_worktrees() unused 'flags' argument
[thirdparty/git.git] / t / helper / test-ref-store.c
index 799fc00aa15b1e4cfe9fe8a6d32ebc2063003cb4..759e69dc549ea1d87343d9890b28066515858aea 100644 (file)
@@ -37,7 +37,7 @@ static const char **get_store(const char **argv, struct ref_store **refs)
 
                *refs = get_submodule_ref_store(gitdir);
        } else if (skip_prefix(argv[0], "worktree:", &gitdir)) {
-               struct worktree **p, **worktrees = get_worktrees(0);
+               struct worktree **p, **worktrees = get_worktrees();
 
                for (p = worktrees; *p; p++) {
                        struct worktree *wt = *p;