Add "get_sha1()" helper function.
authorLinus Torvalds <torvalds@ppc970.osdl.org>
Sun, 1 May 2005 23:36:56 +0000 (16:36 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Sun, 1 May 2005 23:36:56 +0000 (16:36 -0700)
This allows the programs to use various simplified versions of
the SHA1 names, eg just say "HEAD" for the SHA1 pointed to by
the .git/HEAD file etc.

For example, this commit has been done with

git-commit-tree $(git-write-tree) -p HEAD

instead of the traditional "$(cat .git/HEAD)" syntax.

No differences found