Re: [PATCH 0/3] making --first-parent imply -m
- From
Jeff King <peff@peff.net>
- Date
- Jul 28, 2020, 16:47 UTC
- Message-ID
- <20200728164727.GA2650574@coredump.intra.peff.net>
- In-Reply-To
- <20200728163617.GA2649887@coredump.intra.peff.net>
On Tue, Jul 28, 2020 at 12:36:18PM -0400, Jeff King wrote:
Show 5 quoted lines
> For some projects, it's useful to walk the first parent history, looking > at each merge commit as a normal commit introducing all of the changes > no its side branch. E.g.: > > git log --first-parent -m -Sfoo -p
One thing I should have mentioned, since the subject may be misleading: this is only for git-log, not for plumbing like rev-list (which anyway would need the option in diff-tree). The commits themselves are clear that this is the case, but the cover letter was not. :)
-Peff