Re: [PATCH v5] revision: new rev^-n shorthand for rev^n..rev

2016-09-27 Thread Junio C Hamano
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

[PATCH v5] revision: new rev^-n shorthand for rev^n..rev

2016-09-27 Thread Vegard Nossum
"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