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 /branch.c | |
parent | e7e113a1df98f3a97a83c36cf75bcce50a4a0073 (diff) | |
parent | 03f2465bb1c1d9222181c493373e668c0ba7eb51 (diff) | |
download | git-645f63111b9fc456cc48da9b320b86800fe5477c.tar.gz |
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 'branch.c')
-rw-r--r-- | branch.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -370,7 +370,7 @@ int replace_each_worktree_head_symref(const char *oldref, const char *newref, const char *logmsg) { int ret = 0; - struct worktree **worktrees = get_worktrees(0); + struct worktree **worktrees = get_worktrees(); int i; for (i = 0; worktrees[i]; i++) { |