mirror of
https://github.com/git/git.git
synced 2026-04-12 18:00:07 +02:00
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
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user