From: Steinar H. Gunderson Date: Thu, 26 Jan 2023 17:18:30 GMT Subject: Re: git log --follow wrongly includes delete commit Message-ID: <20230126171830.6qb46wa2ed5h2z3b@sesse.net> In-Reply-To: On Thu, Jan 26, 2023 at 11:38:42AM -0500, Derrick Stolee wrote: > It's actually a third option: it was deleted but also renamed in an > independent point in history, but the delete is more recent "in time" > that it shows up first, and the merge that resolves the issue doesn't > show up at all. I see! So basically my parser needs to also start tracking merges, except --follow seems to be sort of odd with those as well (though I think maybe it's changed in some fairly recent git version). > (Note: I didn't include --follow here as it filtered the --graph > output in a strange way, including dropping the merge commitswhich was > confusing to me.) I think you need to give -c or --cc or something similar to see merges in --follow, but the man pages are not entirely clear to me. /* Steinar */ -- Homepage: https://www.sesse.net/