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.