diff options
author | Junio C Hamano <gitster@pobox.com> | 2020-07-07 07:09:15 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-07-07 07:09:15 +0200 |
commit | 645f63111b9fc456cc48da9b320b86800fe5477c (patch) | |
tree | 21e97612acaf1250b8327b87d94d9ffebeb544d8 /revision.c | |
parent | Merge branch 'bc/sha-256-cvs-svn-updates' (diff) | |
parent | worktree: drop get_worktrees() unused 'flags' argument (diff) | |
download | git-645f63111b9fc456cc48da9b320b86800fe5477c.tar.xz git-645f63111b9fc456cc48da9b320b86800fe5477c.zip |
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 'revision.c')
-rw-r--r-- | revision.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/revision.c b/revision.c index 32be93f404..223e99db5d 100644 --- a/revision.c +++ b/revision.c @@ -1609,7 +1609,7 @@ static void add_other_reflogs_to_pending(struct all_refs_cb *cb) { struct worktree **worktrees, **p; - worktrees = get_worktrees(0); + worktrees = get_worktrees(); for (p = worktrees; *p; p++) { struct worktree *wt = *p; @@ -1697,7 +1697,7 @@ void add_index_objects_to_pending(struct rev_info *revs, unsigned int flags) if (revs->single_worktree) return; - worktrees = get_worktrees(0); + worktrees = get_worktrees(); for (p = worktrees; *p; p++) { struct worktree *wt = *p; struct index_state istate = { NULL }; |