Re: git log omits deleting merges
From: Jeff King <hidden>
Date: 2016-06-15 23:00:26
On Mon, Mar 24, 2014 at 11:25:32AM +0100, Ephrim Khong wrote:
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