Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'rs/find-pack-entry-bisection' into next
[gitweb.git]
/
archive.c
diff --git
a/archive.c
b/archive.c
index 60b3035a7a6a9e7c2e69b4ba7de00ebdf8bfdbb8..557dd2db85ff261ee00ec50ea0bfe286bff7bda3 100644
(file)
--- a/
archive.c
+++ b/
archive.c
@@
-358,7
+358,7
@@
static void parse_treeish_arg(const char **argv,
free(ref);
}
- if (get_
sha1(name, oid.hash
))
+ if (get_
oid(name, &oid
))
die("Not a valid object name");
commit = lookup_commit_reference_gently(&oid, 1);