git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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
Previous: Linus Torvalds
Message 2 of 2 in “git log: add '--merges' flag to match '--no-merges'”
  1. Linus TorvaldsJun 29, 2009
  2. Linus TorvaldsJun 29, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.