Skip to content

Commit 52229a2

Browse files
committed
checkout: show progress when checkout takes long time while switching branches
Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent 1736855 commit 52229a2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

builtin-checkout.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,7 @@ static int merge_working_tree(struct checkout_opts *opts,
232232
topts.update = 1;
233233
topts.merge = 1;
234234
topts.gently = opts->merge;
235+
topts.verbose_update = !opts->quiet;
235236
topts.fn = twoway_merge;
236237
topts.dir = xcalloc(1, sizeof(*topts.dir));
237238
topts.dir->show_ignored = 1;

0 commit comments

Comments
 (0)