summaryrefslogtreecommitdiff
path: root/t/t4013/diff.diff_initial..side
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2026-07-16 17:28:23 +0200
committerJunio C Hamano <gitster@pobox.com>2026-07-16 14:10:08 -0700
commit0717b3595d4ebfca396134e4356e473c794aa1c9 (patch)
treefd65335b1c6427887adaa6ef87d609c3b22efbe4 /t/t4013/diff.diff_initial..side
parentd35c5399e3e54ac277bb391fc2f6be3e816d312b (diff)
copy: drop dependency on `the_repository`
When copying a file we need to potentially adapt permissions of the new file based on whether or not "core.shared" is enabled. Parsing this configuration makes us implicitly depend on `the_repository`. Refactor the code to instead require the caller to pass in a repository so that we can remove `USE_THE_REPOSITORY_VARIABLE`. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4013/diff.diff_initial..side')
0 files changed, 0 insertions, 0 deletions