Skip to content

Commit 29416b1

Browse files
authored
Merge pull request #80898 from etcwilde/ewilde/isolate-mock-update-checkout-tests
Update-Checkout Tests: Disable commit singing
2 parents 91a0692 + ab4df1b commit 29416b1

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

utils/update_checkout/tests/scheme_mock.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,9 +118,11 @@ def setup_mock_remote(base_dir, base_config):
118118
call_quietly(['git', 'symbolic-ref', 'HEAD', 'refs/heads/main'],
119119
cwd=remote_repo_path)
120120
call_quietly(['git', 'clone', '-l', remote_repo_path, local_repo_path])
121-
call_quietly(['git', 'config', 'user.name', 'swift_test'],
121+
call_quietly(['git', 'config', '--local', 'user.name', 'swift_test'],
122122
cwd=local_repo_path)
123-
call_quietly(['git', 'config', 'user.email', '[email protected]'],
123+
call_quietly(['git', 'config', '--local', 'user.email', '[email protected]'],
124+
cwd=local_repo_path)
125+
call_quietly(['git', 'config', '--local', 'commit.gpgsign', 'false'],
124126
cwd=local_repo_path)
125127
call_quietly(['git', 'symbolic-ref', 'HEAD', 'refs/heads/main'],
126128
cwd=local_repo_path)

0 commit comments

Comments
 (0)