Re: git log omits deleting merges
- From
Jeff King <peff@peff.net>
- Date
- Mar 24, 2014, 14:19 UTC
- Message-ID
- <20140324141934.GA651@sigill.intra.peff.net>
- In-Reply-To
- <5330081C.3090403@gmail.com>
On Mon, Mar 24, 2014 at 11:25:32AM +0100, Ephrim Khong wrote:
Show 5 quoted lines
> Thank you for the explanation, I now understand why this is happening from a > technical point of view. From a usability perspective, it is a bit confusing > that a flag that should intuitively increase the number of shown commits > (--follow) removes a commit from the output. Though this is just a minor > annoyance, so no strong opinion here.
Sorry, I focused on the --diff-filter aspect of your question. As for --follow, I think that is less "by design" and more "what happens to occur, because --follow is a bit of a hack".
So there may be a bug, or room for improvement in the code there, though if the solution involves turning on diffs for all merges, that may be prohibitively expensive.
-Peff