Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
csum-file: refactor finalize_hashfile() method
[gitweb.git]
/
walker.c
diff --git
a/walker.c
b/walker.c
index 2d83254bc0350bf213860bbff9a835455ed6a2ce..5d4d3733f75648dfa8d6955a5ec1ed9f3dfeb77b 100644
(file)
--- a/
walker.c
+++ b/
walker.c
@@
-304,7
+304,7
@@
int walker_fetch(struct walker *walker, int targets, char **target,
strbuf_reset(&refname);
strbuf_addf(&refname, "refs/%s", write_ref[i]);
if (ref_transaction_update(transaction, refname.buf,
- oids
[i].hash
, NULL, 0,
+ oids
+ i
, NULL, 0,
msg ? msg : "fetch (unknown)",
&err)) {
error("%s", err.buf);