Skip to content

Commit 1f5d1fa

Browse files
committed
Merge remote-tracking branch 'origin/main' into rebranch
2 parents 059335d + 29416b1 commit 1f5d1fa

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)