diff options
author | Junio C Hamano <gitster@pobox.com> | 2020-07-06 22:09:15 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-07-06 22:09:15 -0700 |
commit | 645f63111b9fc456cc48da9b320b86800fe5477c (patch) | |
tree | 21e97612acaf1250b8327b87d94d9ffebeb544d8 /builtin/branch.c | |
parent | Merge branch 'bc/sha-256-cvs-svn-updates' (diff) | |
parent | worktree: drop get_worktrees() unused 'flags' argument (diff) | |
download | tgif-645f63111b9fc456cc48da9b320b86800fe5477c.tar.xz |
Merge branch 'es/get-worktrees-unsort'
API cleanup for get_worktrees()
* es/get-worktrees-unsort:
worktree: drop get_worktrees() unused 'flags' argument
worktree: drop get_worktrees() special-purpose sorting option
Diffstat (limited to 'builtin/branch.c')
-rw-r--r-- | builtin/branch.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/branch.c b/builtin/branch.c index 99633ad004..e82301fb1b 100644 --- a/builtin/branch.c +++ b/builtin/branch.c @@ -468,7 +468,7 @@ static void print_current_branch_name(void) static void reject_rebase_or_bisect_branch(const char *target) { - struct worktree **worktrees = get_worktrees(0); + struct worktree **worktrees = get_worktrees(); int i; for (i = 0; worktrees[i]; i++) { |