Make rev-parse understand "extended sha1" syntax
commita8be83fe00eded0bd6cb0001879ddf211a2cf2f2
authorLinus Torvalds <torvalds@ppc970.osdl.org>
Tue, 21 Jun 2005 03:28:09 +0000 (20 20:28 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Tue, 21 Jun 2005 03:28:09 +0000 (20 20:28 -0700)
treefd4e9a6656d52e22d4f80593f7b69d95b17ddab7
parent6c88be169881c9223532796bd225e79afaa115e1
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).
rev-parse.c