diff options
author | Eric Sunshine <sunshine@sunshineco.com> | 2020-06-19 19:35:44 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-06-22 10:31:15 -0700 |
commit | 03f2465bb1c1d9222181c493373e668c0ba7eb51 (patch) | |
tree | 48a952a386fd3eadc0bc2486f5e7dfe91eedf493 /worktree.h | |
parent | d9c54c2bbf684ca3903bc2227c81f657a557d8b8 (diff) | |
download | git-03f2465bb1c1d9222181c493373e668c0ba7eb51.tar.gz |
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 'worktree.h')
-rw-r--r-- | worktree.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/worktree.h b/worktree.h index bd2235abe0..516744c433 100644 --- a/worktree.h +++ b/worktree.h @@ -25,7 +25,7 @@ struct worktree { * The caller is responsible for freeing the memory from the returned * worktrees by calling free_worktrees(). */ -struct worktree **get_worktrees(unsigned flags); +struct worktree **get_worktrees(void); /* * Returns 1 if linked worktrees exist, 0 otherwise. |