From: Junio C Hamano Date: Sat, 23 Feb 2008 23:42:06 GMT Subject: Re: Be more verbose when checkout takes a long time Message-ID: <7vve4fxmsx.fsf@gitster.siamese.dyndns.org> In-Reply-To: <7vzltrz4cl.fsf@gitster.siamese.dyndns.org> Junio C Hamano writes: > Linus Torvalds writes: > ... >> Sounds sane to me. > > Ok, then. > > Unfortunately it will be short-lived on 'master' as I have been > planning to merge Daniel's rewrite soon ;-) So here it is ;-) Thanks to the unpack_trees_options.gently flag, this does not have to say "Falling back to..." because the first "attempt to switch normally" would silently fail. --- builtin-checkout.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/builtin-checkout.c b/builtin-checkout.c index 5f176c6..283831e 100644 --- a/builtin-checkout.c +++ b/builtin-checkout.c @@ -232,6 +232,7 @@ static int merge_working_tree(struct checkout_opts *opts, topts.update = 1; topts.merge = 1; topts.gently = opts->merge; + topts.verbose_update = !opts->quiet; topts.fn = twoway_merge; topts.dir = xcalloc(1, sizeof(*topts.dir)); topts.dir->show_ignored = 1;