Re: git log: add '--merges' flag to match '--no-merges'
- From
Linus Torvalds <torvalds@linux-foundation.org>
- Date
- Jun 29, 2009, 18:15 UTC
- Message-ID
- <alpine.LFD.2.01.0906291112520.3605@localhost.localdomain>
- In-Reply-To
- <alpine.LFD.2.01.0906291015210.3605@localhost.localdomain>
On Mon, 29 Jun 2009, Linus Torvalds wrote:
> > So this just adds a '--merges' flag that _only_ shows merges.
Side note: if somebody wants to make this flag be called "--merges-only", and then adds a "--merges" flag that clears both the no_merges and merges_only flag, I wouldn't complain. That _might_ be useful to override default behaviour (say, if some alias/command were to default to not showing merges, then adding "--merges" would make it show all commits).
Dunno. I don't personally much care, but I thought I'd mention it as an alternative approach to this issue.
Linus