Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
setup_temporary_shallow: move tempfile struct into function
[gitweb.git]
/
archive.c
diff --git
a/archive.c
b/archive.c
index 2ad7e6cb9071e42faa59da18aeacc9bcc7549da5..1ab8d3a1d7cc9c3e55465fbadf899e8a267de689 100644
(file)
--- a/
archive.c
+++ b/
archive.c
@@
-391,7
+391,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);