diff options
author | Vegard Nossum <vegard.nossum@oracle.com> | 2016-09-27 10:32:49 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-09-27 10:59:28 -0700 |
commit | 8779351dd7ee54c6ef2a7007670bad75a86edc75 (patch) | |
tree | 2810d463c6e0baef7f93889678334720156b797c /templates/Makefile | |
parent | Start preparing for 2.10.1 (diff) | |
download | tgif-8779351dd7ee54c6ef2a7007670bad75a86edc75.tar.xz |
revision: new rev^-n shorthand for rev^n..rev
"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 <vegard.nossum@oracle.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'templates/Makefile')
0 files changed, 0 insertions, 0 deletions