summaryrefslogtreecommitdiff
path: root/decorate.c
diff options
context:
space:
mode:
authorLibravatar Brandon Williams <bmwill@google.com>2017-12-12 11:53:51 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-12-12 12:35:21 -0800
commit7da9aba417868afa11ef0baa4078dc2dadde5333 (patch)
tree527b9b12cb223db899b800c32edaf9edced27898 /decorate.c
parentsubmodule: convert stage_updated_gitmodules to take a struct index_state (diff)
downloadtgif-7da9aba417868afa11ef0baa4078dc2dadde5333.tar.xz
submodule: used correct index in is_staging_gitmodules_ok
Commit 883e248b8 (fsmonitor: teach git to optionally utilize a file system monitor to speed up detecting new or changed files., 2017-09-22) introduced a call to 'ce_match_stat()' in 'is_staging_gitmodules_ok()' which implicitly relys on the the global 'the_index' instead of the passed in 'struct index_state'. Fix this by changing the call to 'ie_match_stat()' and using the passed in index_state struct. Signed-off-by: Brandon Williams <bmwill@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'decorate.c')
0 files changed, 0 insertions, 0 deletions