Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
remote-hg: add tests for special filenames
[gitweb.git]
/
sha1_name.c
diff --git
a/sha1_name.c
b/sha1_name.c
index e9c299943b817b5b3b5b700ac3979211d5688e2e..2f37488b96c0a8485e90d87befa997d75ba4b7b1 100644
(file)
--- a/
sha1_name.c
+++ b/
sha1_name.c
@@
-581,8
+581,6
@@
static int get_parent(const char *name, int len,
if (ret)
return ret;
commit = lookup_commit_reference(sha1);
- if (!commit)
- return -1;
if (parse_commit(commit))
return -1;
if (!idx) {