Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
multi-pack-index: provide more helpful usage info
[gitweb.git]
/
builtin
/
reset.c
diff --git
a/builtin/reset.c
b/builtin/reset.c
index d9871e5b6c6f3f417baa7daa4d84d3b9bc9142a9..11cd0dcb8cc73ac753b7ed746e194ba1458742ee 100644
(file)
--- a/
builtin/reset.c
+++ b/
builtin/reset.c
@@
-134,7
+134,7
@@
static void update_index_from_diff(struct diff_queue_struct *q,
continue;
}
- ce = make_cache_entry(
one->mode, one->oid.hash
, one->path,
+ ce = make_cache_entry(
&the_index, one->mode, &one->oid
, one->path,
0, 0);
if (!ce)
die(_("make_cache_entry failed for path '%s'"),