Re: Make "git log --count" work like "git rev-list"
- From
Stefan Beller <sbeller@google.com>
- Date
- Jan 9, 2019, 20:14 UTC
- Message-ID
- <CAGZ79kan3yavtQOPAHUdkjTXeHpCGPb-igtNMPXjS6GCxOCS+Q@mail.gmail.com>
- In-Reply-To
- <20190109195428.GA12645@sigill.intra.peff.net>
> Unfortunately I'm not sure of an easy fix. We'd have to tell the log > code "figure out if you're going to show the commit, but don't actually > show anything", which means respecting the count flag virtually > everywhere that would produce output.
This is (partially) solved for commit parts already, e6e045f803 (diff.c: buffer all output if asked to, 2017-06-29) but we'd have to extend that to revision walking?