diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2016-11-28 16:36:55 +0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-11-28 13:18:51 -0800 |
commit | 4fff1ef7ffe0e370459242cf08c51177eeb4181f (patch) | |
tree | c75c61d8e45c622fd62af8b368dee1636f397bf3 /branch.c | |
parent | a234563a3b329c8513fabbe9d8f9435987f10eb6 (diff) | |
download | git-4fff1ef7ffe0e370459242cf08c51177eeb4181f.tar.gz |
worktree.c: get_worktrees() takes a new flag argument
This is another no-op patch, in preparation for get_worktrees() to do
optional things, like sorting.
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'branch.c')
-rw-r--r-- | branch.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -348,7 +348,7 @@ void die_if_checked_out(const char *branch, int ignore_current_worktree) int replace_each_worktree_head_symref(const char *oldref, const char *newref) { int ret = 0; - struct worktree **worktrees = get_worktrees(); + struct worktree **worktrees = get_worktrees(0); int i; for (i = 0; worktrees[i]; i++) { |