]> git.ipfire.org Git - thirdparty/git.git/commit - ref-filter.c
worktree: drop get_worktrees() unused 'flags' argument
authorEric Sunshine <sunshine@sunshineco.com>
Fri, 19 Jun 2020 23:35:44 +0000 (19:35 -0400)
committerJunio C Hamano <gitster@pobox.com>
Mon, 22 Jun 2020 17:31:15 +0000 (10:31 -0700)
commit03f2465bb1c1d9222181c493373e668c0ba7eb51
tree48a952a386fd3eadc0bc2486f5e7dfe91eedf493
parentd9c54c2bbf684ca3903bc2227c81f657a557d8b8
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>
branch.c
builtin/branch.c
builtin/config.c
builtin/fsck.c
builtin/reflog.c
builtin/worktree.c
ref-filter.c
revision.c
t/helper/test-ref-store.c
worktree.c
worktree.h