Re: git log --quiet bug?
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Nov 9, 2011, 00:04 UTC
- Message-ID
- <7vy5vqw47x.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <20111108232043.GA21957@sigill.intra.peff.net>
Jeff King <peff@peff.net> writes:
Show 8 quoted lines
> Try: > > test -z "$(git rev-list -1 origin..HEAD)" && > echo nothing that needs pushing > > You can also use --count to get the exact number, but if you just care > whether there is something or nothing, using "-1" lets git stop the > graph traversal immediately.
Doesn't some variant of "branch -v" show the ahead/behind information for all branches?