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. - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html