summaryrefslogtreecommitdiff
path: root/fsmonitor.c
diff options
context:
space:
mode:
authorLibravatar Ben Peart <benpeart@microsoft.com>2017-09-22 12:35:39 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-09-24 10:39:40 +0900
commit7c545be9a1afb8031ff4df618a1f89d0764191cd (patch)
tree9b1d5780e6beb75bdbba85cec70555dfabd3053a /fsmonitor.c
parentpreload-index: add override to enable testing preload-index (diff)
downloadtgif-7c545be9a1afb8031ff4df618a1f89d0764191cd.tar.xz
update-index: add a new --force-write-index option
At times, it makes sense to avoid the cost of writing out the index when the only changes can easily be recomputed on demand. This causes problems when trying to write test cases to verify that state as they can't guarantee the state has been persisted to disk. Add a new option (--force-write-index) to update-index that will ensure the index is written out even if the cache_changed flag is not set. Signed-off-by: Ben Peart <benpeart@microsoft.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'fsmonitor.c')
0 files changed, 0 insertions, 0 deletions