diff options
author | Eric Sunshine <sunshine@sunshineco.com> | 2020-06-19 23:35:44 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-06-22 17:31:15 (GMT) |
commit | 03f2465bb1c1d9222181c493373e668c0ba7eb51 (patch) | |
tree | 48a952a386fd3eadc0bc2486f5e7dfe91eedf493 /t/helper | |
parent | d9c54c2bbf684ca3903bc2227c81f657a557d8b8 (diff) | |
download | git-03f2465bb1c1d9222181c493373e668c0ba7eb51.zip git-03f2465bb1c1d9222181c493373e668c0ba7eb51.tar.gz git-03f2465bb1c1d9222181c493373e668c0ba7eb51.tar.bz2 |
worktree: drop get_worktrees() unused 'flags' argument
get_worktrees() accepts a 'flags' argument, however, there are no
existing flags (the lone flag GWT_SORT_LINKED was recently retired) and
no behavior which can be tweaked. Therefore, drop the 'flags' argument.
Signed-off-by: Eric Sunshine <sunshine@sunshineco.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/helper')
-rw-r--r-- | t/helper/test-ref-store.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/helper/test-ref-store.c b/t/helper/test-ref-store.c index 799fc00..759e69d 100644 --- a/t/helper/test-ref-store.c +++ b/t/helper/test-ref-store.c @@ -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; |