diff options
author | Junio C Hamano <gitster@pobox.com> | 2020-12-08 15:11:19 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-12-08 15:11:20 -0800 |
commit | 9b3b4adb3fc586d14bbe2bfa7ba5f682a87e903d (patch) | |
tree | de731e55f8d7e4fe0acb67bf48433c97cf5306f4 /apply.c | |
parent | Merge branch 'ds/maintenance-part-2' (diff) | |
parent | apply: don't use core.sharedRepository to create working tree files (diff) | |
download | tgif-9b3b4adb3fc586d14bbe2bfa7ba5f682a87e903d.tar.xz |
Merge branch 'mt/do-not-use-scld-in-working-tree'
"git apply" adjusted the permission bits of working-tree files and
directories according core.sharedRepository setting by mistake and
for a long time, which has been corrected.
* mt/do-not-use-scld-in-working-tree:
apply: don't use core.sharedRepository to create working tree files
Diffstat (limited to 'apply.c')
-rw-r--r-- | apply.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -4409,7 +4409,7 @@ static int create_one_file(struct apply_state *state, return 0; if (errno == ENOENT) { - if (safe_create_leading_directories(path)) + if (safe_create_leading_directories_no_share(path)) return 0; res = try_create_file(state, path, mode, buf, size); if (res < 0) |