summaryrefslogtreecommitdiff
path: root/dir.h
diff options
context:
space:
mode:
authorBen Peart <benpeart@microsoft.com>2017-09-22 16:35:39 (GMT)
committerJunio C Hamano <gitster@pobox.com>2017-09-24 01:39:40 (GMT)
commit7c545be9a1afb8031ff4df618a1f89d0764191cd (patch)
tree9b1d5780e6beb75bdbba85cec70555dfabd3053a /dir.h
parent3e2c66961a9637f85eb9208466aca8f4430e89e0 (diff)
downloadgit-7c545be9a1afb8031ff4df618a1f89d0764191cd.zip
git-7c545be9a1afb8031ff4df618a1f89d0764191cd.tar.gz
git-7c545be9a1afb8031ff4df618a1f89d0764191cd.tar.bz2
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 'dir.h')
0 files changed, 0 insertions, 0 deletions