summaryrefslogtreecommitdiff
path: root/t/t3008-ls-files-lazy-init-name-hash.sh
diff options
context:
space:
mode:
authorLibravatar Johannes Schindelin <johannes.schindelin@gmx.de>2021-09-09 09:47:06 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-09-09 12:56:11 -0700
commit28d04e1ec19777bf6382d016b6e624d0ff4336cd (patch)
treec29b6dd43eb66f3d74920ab29f7e4b7818dd2b3f /t/t3008-ls-files-lazy-init-name-hash.sh
parentrun-command: prettify the `RUN_COMMAND_*` flags (diff)
downloadtgif-28d04e1ec19777bf6382d016b6e624d0ff4336cd.tar.xz
run-command: offer to close the object store before running
Especially on Windows, where files cannot be deleted if _any_ process holds an open file handle to them, it is important to close the object store (releasing all handles to all `.pack` files) before running a command that might spawn a garbage collection. This scenario is so common that we frequently see the pattern of closing the object store before running auto maintenance or another Git command. Let's make this much more convenient by teaching the `run_command()` machinery a new flag to release the object store before spawning the process. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t3008-ls-files-lazy-init-name-hash.sh')
0 files changed, 0 insertions, 0 deletions