Re: Suggestion: make --left-right work with --merge
- From
Paul Mackerras <paulus@samba.org>
- Date
- Feb 27, 2008, 22:36 UTC
- Message-ID
- <18373.58839.636432.448970@cargo.ozlabs.ibm.com>
- In-Reply-To
- <7v7igqyii9.fsf@gitster.siamese.dyndns.org>
Junio C Hamano writes:
> Like this? > > A trivial feature that can be implemented in -4 lines ;-)
Cool! Yes, that works nicely.
Another thing: I have noticed that git rev-parse --revs-only doesn't pass the --merge and --left-right flags through, even though the help for git rev-parse says that --revs-only means "Do not output flags and parameters not meant for git-rev-list" (which I assume means the same as "Only output flags and parameters meant for git rev-list"), and git rev-list accepts and uses the --merge and --left-right flags. I assume this is just an oversight in git rev-parse.
Regards, Paul.