author | Linus Torvalds <torvalds@ppc970.osdl.org> | |
Tue, 21 Jun 2005 03:28:09 +0000 (20:28 -0700) | ||
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | |
Tue, 21 Jun 2005 03:28:09 +0000 (20:28 -0700) | ||
commit | a8be83fe00eded0bd6cb0001879ddf211a2cf2f2 | |
tree | fd4e9a6656d52e22d4f80593f7b69d95b17ddab7 | tree | snapshot |
parent | 6c88be169881c9223532796bd225e79afaa115e1 | commit | diff |
Make rev-parse understand "extended sha1" syntax
You can say "HEAD.p" for the "parent of HEAD". It nests, so
HEAD.p2.p
means parent of second parent of HEAD (which obviously depends
on HEAD being a merge).
You can say "HEAD.p" for the "parent of HEAD". It nests, so
HEAD.p2.p
means parent of second parent of HEAD (which obviously depends
on HEAD being a merge).
rev-parse.c | diff | blob | history |