Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
fetch-pack: eliminate spurious error messages
[gitweb.git]
/
commit.c
diff --git
a/commit.c
b/commit.c
index 1360bbd2cb7d9c83d128fd301bcee4763ac8f054..87268682f98f0cd0f18221b3647ad30dbcbc560e 100644
(file)
--- a/
commit.c
+++ b/
commit.c
@@
-68,7
+68,7
@@
struct commit *lookup_commit_reference_by_name(const char *name)
unsigned char sha1[20];
struct commit *commit;
- if (get_sha1(name, sha1))
+ if (get_sha1
_committish
(name, sha1))
return NULL;
commit = lookup_commit_reference(sha1);
if (!commit || parse_commit(commit))