summaryrefslogtreecommitdiff
path: root/builtin/commit.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2024-05-02 13:15:57 -0700
committerJunio C Hamano <gitster@pobox.com>2024-05-02 13:16:42 -0700
commit861dc19ba852cf668b40d0ef601b44c7c03853a1 (patch)
tree97ed657dc404715c822619e1ce6405fc4ec605c7 /builtin/commit.c
parent564d0252ca632e0264ed670534a51d18a689ef5d (diff)
t/lib-chunk: work around broken "mv" on some vintage of macOS
When the destination is read-only, "mv" on some version of macOS asks whether to replace the destination even though in the test its stdin is not a terminal (and thus doesn't conform to POSIX[1]). The helper to corrupt a chunk-file is designed to work on the files like commit-graph and multi-pack-index files that are generally read-only, so use "mv -f" to work around this issue. Helped-by: SZEDER Gábor <szeder.dev@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions