aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2024-08-21 12:02:25 -0700
committerJunio C Hamano <gitster@pobox.com>2024-08-21 12:02:25 -0700
commiteb630683c22a2bc8601ff4a77348e297016503bc (patch)
treeeb21fee42662ea7e63df318c9cd83f866929064d
parentMerge branch 'ps/bundle-outside-repo-fix' (diff)
parentt4129: fix racy index when calling chmod after git-add (diff)
downloadgit-eb630683c22a2bc8601ff4a77348e297016503bc.tar.gz
git-eb630683c22a2bc8601ff4a77348e297016503bc.zip
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
-rwxr-xr-xt/t4129-apply-samemode.sh2
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