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

Re: git branch --merged and git branch --verbose do not combine

From
Junio C Hamano <gitster@pobox.com>
Date
Sep 15, 2014, 20:20 UTC
Message-ID
<xmqqwq944ov0.fsf@gitster.dls.corp.google.com>
In-Reply-To
<87a960r9d2.fsf@fencepost.gnu.org>
David Kastrup <dak@gnu.org> writes:
Show 5 quoted lines
> This gives the same result as
>
> git branch --verbose --merged
>
> namely _only_ listing the current branch verbosely.

Hmph. Then that is a different issue. As I never use --merged myself, even though I use "git branch [--verbose] --no-merged pu" quite often to check the list of topics that I received but not yet merged anywhere in my tree, I wouldn't be entirely surprised that the combination does not work, but with a quick glance of the code, especially how matches_merge_filter() uses "--[no-]merged", I cannot offhand imagine how --no-merged would work and --merged break.

Previous: David KastrupNext: Jeff King
Message 4 of 5 in “git branch --merged and git branch --verbose do not combine”
  1. David KastrupSep 14, 2014
  2. Junio C HamanoSep 15, 2014
  3. David KastrupSep 15, 2014
  4. Junio C HamanoSep 15, 2014
  5. branch: clean up commit flags after merge-filter walkJeff King, Sep 18, 2014

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.