From: Junio C Hamano Date: Tue, 27 Sep 2016 18:08:19 GMT Subject: Re: [PATCH v5] revision: new rev^-n shorthand for rev^n..rev Message-ID: In-Reply-To: <20160927083249.31869-1-vegard.nossum@oracle.com> Vegard Nossum writes: > "git log rev^..rev" is commonly used to show all work done on and merged > from a side branch. This patch introduces a shorthand "rev^-" for this > and additionally allows "rev^-$n" to mean "reachable from rev, excluding > what is reachable from the nth parent of rev". For example, for a > two-parent merge, you can use rev^-2 to get the set of commits which were > made to the main branch while the topic branch was prepared. > > Signed-off-by: Vegard Nossum Very nicely done. Thanks for a pleasant read. Will queue.