author | Junio C Hamano <junkio@cox.net> | |
Sun, 21 Aug 2005 09:43:54 +0000 (02:43 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Tue, 23 Aug 2005 01:34:09 +0000 (18:34 -0700) | ||
commit | 4f7599ac2543e1d59f2b2b865ecff272ae5f4ea5 | |
tree | fc1c72ca91c6d4606abe8f0bd18c58f4e9a35706 | tree | snapshot |
parent | 792fe559d02e55c12d2d544fd6d6f202cbaab6f4 | commit | diff |
[PATCH] Add a new extended SHA1 syntax <name>~<num>
The new notation is a short-hand for <name> followed by <num>
caret ('^') characters. E.g. "master~4" is the fourth
generation ancestor of the current "master" branch head,
following the first parents; same as "master^^^^" but a bit
more readable.
This will be used in the updated "git show-branch" command.
Signed-off-by: Junio C Hamano <junkio@cox.net>
The new notation is a short-hand for <name> followed by <num>
caret ('^') characters. E.g. "master~4" is the fourth
generation ancestor of the current "master" branch head,
following the first parents; same as "master^^^^" but a bit
more readable.
This will be used in the updated "git show-branch" command.
Signed-off-by: Junio C Hamano <junkio@cox.net>
sha1_name.c | diff | blob | history |