projects
/
platform
/
upstream
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Imported Upstream version 2.16.0
[platform/upstream/git.git]
/
archive.c
diff --git
a/archive.c
b/archive.c
index
1e41f4b
..
0b7b62a
100644
(file)
--- a/
archive.c
+++ b/
archive.c
@@
-371,7
+371,7
@@
static void parse_treeish_arg(const char **argv,
const char *colon = strchrnul(name, ':');
int refnamelen = colon - name;
- if (!dwim_ref(name, refnamelen,
oid.hash
, &ref))
+ if (!dwim_ref(name, refnamelen,
&oid
, &ref))
die("no such ref: %.*s", refnamelen, name);
free(ref);
}