Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
entry.c: update cache_changed if refresh_cache is set in checkout_entry()
[gitweb.git]
/
builtin
/
reset.c
diff --git
a/builtin/reset.c
b/builtin/reset.c
index 0c56d28e168c24cc1444add7c7ca46bef7d61858..234b2eb44a4be901e8d2847c698835314086bdcd 100644
(file)
--- a/
builtin/reset.c
+++ b/
builtin/reset.c
@@
-84,7
+84,7
@@
static int reset_index(const unsigned char *sha1, int reset_type, int quiet)
if (reset_type == MIXED || reset_type == HARD) {
tree = parse_tree_indirect(sha1);
- prime_cache_tree(&
active_cache_tree
, tree);
+ prime_cache_tree(&
the_index
, tree);
}
return 0;