summaryrefslogtreecommitdiff
path: root/commit.h
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-08-21 02:43:54 -0700
committerJunio C Hamano <junkio@cox.net>2005-08-22 18:34:09 -0700
commit4f7599ac2543e1d59f2b2b865ecff272ae5f4ea5 (patch)
treefc1c72ca91c6d4606abe8f0bd18c58f4e9a35706 /commit.h
parent792fe559d02e55c12d2d544fd6d6f202cbaab6f4 (diff)
downloadgit-4f7599ac2543e1d59f2b2b865ecff272ae5f4ea5.tar.gz
[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>
Diffstat (limited to 'commit.h')
0 files changed, 0 insertions, 0 deletions