summaryrefslogtreecommitdiff
path: root/sequencer.c
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2014-06-13 19:19:32 +0700
committerJunio C Hamano <gitster@pobox.com>2014-06-13 11:49:39 -0700
commitd0cfc3e866a77eed98ab2caf41a39a87837950e6 (patch)
tree21a6cb067150bec1081c9ef3ac00504004f20707 /sequencer.c
parenta5400efe29fdaabbe5266d11d255b2ef5a4c3a66 (diff)
downloadgit-d0cfc3e866a77eed98ab2caf41a39a87837950e6.tar.gz
cache-tree: mark istate->cache_changed on cache tree update
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'sequencer.c')
-rw-r--r--sequencer.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sequencer.c b/sequencer.c
index 5ebc461a9b..4b709dba5f 100644
--- a/sequencer.c
+++ b/sequencer.c
@@ -371,9 +371,7 @@ static int is_index_unchanged(void)
active_cache_tree = cache_tree();
if (!cache_tree_fully_valid(active_cache_tree))
- if (cache_tree_update(active_cache_tree,
- (const struct cache_entry * const *)active_cache,
- active_nr, 0))
+ if (cache_tree_update(&the_index, 0))
return error(_("Unable to update cache tree\n"));
return !hashcmp(active_cache_tree->sha1, head_commit->tree->object.sha1);