diff options
author | Junio C Hamano <junkio@cox.net> | 2005-08-03 22:15:49 -0700 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2005-08-05 00:51:07 -0700 |
commit | 9938af6a85dd08436ad373fc07a1ddba8dcfa170 (patch) | |
tree | 476d9177c8b5023e1804dcf9354efc1966bcdea1 /git-clone-dumb-http | |
parent | Fix send-pack for non-commitish tags. (diff) | |
download | tgif-9938af6a85dd08436ad373fc07a1ddba8dcfa170.tar.xz |
Update get_sha1() to grok extended format.
Everybody envies rev-parse, who is the only one that can grok
the extended sha1 format. Move the get_extended_sha1() out of
rev-parse, rename it to get_sha1() and make it available to
everybody else.
The one I posted earlier to the list had one bug where it did
not handle a name that ends with a digit correctly (it
incorrectly tried the "Nth parent" path). This commit fixes it.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'git-clone-dumb-http')
0 files changed, 0 insertions, 0 deletions