diff options
author | Ben Peart <benpeart@microsoft.com> | 2017-09-22 19:35:39 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-09-24 04:39:40 +0300 |
commit | 7c545be9a1afb8031ff4df618a1f89d0764191cd (patch) | |
tree | 9b1d5780e6beb75bdbba85cec70555dfabd3053a /dir.h | |
parent | 3e2c66961a9637f85eb9208466aca8f4430e89e0 (diff) |
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