summaryrefslogtreecommitdiff
path: root/builtin/reflog.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2020-07-06 22:09:15 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2020-07-06 22:09:15 -0700
commit645f63111b9fc456cc48da9b320b86800fe5477c (patch)
tree21e97612acaf1250b8327b87d94d9ffebeb544d8 /builtin/reflog.c
parentMerge branch 'bc/sha-256-cvs-svn-updates' (diff)
parentworktree: drop get_worktrees() unused 'flags' argument (diff)
downloadtgif-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/reflog.c')
-rw-r--r--builtin/reflog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/reflog.c b/builtin/reflog.c
index 52ecf6d43c..ca1d8079f3 100644
--- a/builtin/reflog.c
+++ b/builtin/reflog.c
@@ -615,7 +615,7 @@ static int cmd_reflog_expire(int argc, const char **argv, const char *prefix)
int i;
memset(&collected, 0, sizeof(collected));
- worktrees = get_worktrees(0);
+ worktrees = get_worktrees();
for (p = worktrees; *p; p++) {
if (!all_worktrees && !(*p)->is_current)
continue;