diff options
| author | Junio C Hamano <gitster@pobox.com> | 2024-08-21 12:02:25 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2024-08-21 12:02:25 -0700 |
| commit | eb630683c22a2bc8601ff4a77348e297016503bc (patch) | |
| tree | eb21fee42662ea7e63df318c9cd83f866929064d /t | |
| parent | b772c9cf2ec6b12ed0a1b6714b5fb7b75672a56d (diff) | |
| parent | 49e5cc5b26550951c2381d959f866db656a97c3c (diff) | |
Merge branch 'jk/apply-patch-mode-check-fix'
Test fix.
* jk/apply-patch-mode-check-fix:
t4129: fix racy index when calling chmod after git-add
Diffstat (limited to 't')
| -rwxr-xr-x | t/t4129-apply-samemode.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t4129-apply-samemode.sh b/t/t4129-apply-samemode.sh index d9a1084b5e..87ffd2b8e1 100755 --- a/t/t4129-apply-samemode.sh +++ b/t/t4129-apply-samemode.sh @@ -153,8 +153,8 @@ test_expect_success POSIXPERM 'patch mode for new file is canonicalized' ' test_expect_success POSIXPERM 'patch mode for deleted file is canonicalized' ' test_when_finished "git reset --hard" && echo content >non-canon && - git add non-canon && chmod 666 non-canon && + git add non-canon && cat >patch <<-\EOF && diff --git a/non-canon b/non-canon |
