diff options
| author | Patrick Steinhardt <ps@pks.im> | 2026-07-16 17:28:23 +0200 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2026-07-16 14:10:08 -0700 |
| commit | 0717b3595d4ebfca396134e4356e473c794aa1c9 (patch) | |
| tree | fd65335b1c6427887adaa6ef87d609c3b22efbe4 /contrib/persistent-https | |
| parent | d35c5399e3e54ac277bb391fc2f6be3e816d312b (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 'contrib/persistent-https')
0 files changed, 0 insertions, 0 deletions
