author | Linus Torvalds <torvalds@ppc970.osdl.org> | |
Mon, 20 Jun 2005 15:29:13 +0000 (08:29 -0700) | ||
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | |
Mon, 20 Jun 2005 15:29:13 +0000 (08:29 -0700) | ||
commit | 800644c5cb3aad99a229a09112f42fa88b63c1c4 | |
tree | 8273c6e88004a86de60bca391f0891e46265e66f | tree | snapshot |
parent | fc4263ce4b6a613622dbe985a8e6aca015789cf1 | commit | diff |
git-rev-parse: parse ".." before simple SHA1's
This fixes "<hexsha1>..*", since get_sha1() will happily ignore any
garbage at the end and thus we never got to the ".." check before.
This fixes "<hexsha1>..*", since get_sha1() will happily ignore any
garbage at the end and thus we never got to the ".." check before.
rev-parse.c | diff | blob | history |