summaryrefslogtreecommitdiff
path: root/t/t3600-rm.sh
diff options
context:
space:
mode:
authorLibravatar Taylor Blau <me@ttaylorr.com>2020-04-29 11:36:42 -0600
committerLibravatar Junio C Hamano <gitster@pobox.com>2020-04-29 12:35:30 -0700
commitf4d62847a431af965b8a6895b92f4372042457b0 (patch)
treea0348d9085c67b2ad3b9605137d2ceaefffd8cbc /t/t3600-rm.sh
parentcommit-graph.c: write non-split graphs as read-only (diff)
downloadtgif-f4d62847a431af965b8a6895b92f4372042457b0.tar.xz
commit-graph.c: ensure graph layers respect core.sharedRepository
Non-layered commit-graphs use 'adjust_shared_perm' to make the commit-graph file readable (or not) to a combination of the user, group, and others. Call 'adjust_shared_perm' for split-graph layers to make sure that these also respect 'core.sharedRepository'. The 'commit-graph-chain' file already respects this configuration since it uses 'hold_lock_file_for_update' (which calls 'adjust_shared_perm' eventually in 'create_tempfile_mode'). Suggested-by: Junio C Hamano <gitster@pobox.com> Signed-off-by: Taylor Blau <me@ttaylorr.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t3600-rm.sh')
0 files changed, 0 insertions, 0 deletions