Re: [PATCH 3/3] transport: don't show push status if --quiet is given
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Aug 5, 2009, 21:01 UTC
- Message-ID
- <7vws5ix9dz.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <20090805204835.GA24539@coredump.intra.peff.net>
Jeff King <peff@peff.net> writes:
> I don't understand. Isn't that what "git push" _already_ does?
Sorry, it has been a while since I looked at print_push_status() the last time. You are right; without --verbose, we show interesting ref update status, excluding the "already up to date" report.
What I meant was that I'd still want to see the non-verbose part of print_push_status(), while suppressing the progress report. That would make mails coming from the cron job much more pleasant to read.
If you somehow can automatically squelch progress without -q for an unattended invocation (e.g. cron jobs), then I wouldn't need to pass -q and everything will be good. But if I have to pass -q in order to squelch progress, I do not want that same -q to automatically also mean "no status output", which is what your 3/3 is about, if I am reading the patch correctly. That's all.