Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
connect: split git:// setup into a separate function
[gitweb.git]
/
archive.c
diff --git
a/archive.c
b/archive.c
index f81bd3649a1f4bf20bc03100d12fc157401bdc14..1e41f4bbeb1d8730da83aad12bc8987abedcad8a 100644
(file)
--- a/
archive.c
+++ b/
archive.c
@@
-376,7
+376,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);