дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-11-08 19:02:17 +02:00
fix: configure git identity for merge and rebase test
Цей коміт міститься в:
1 джерело
6b9a2ec67e
коміт
d7c27c1184
1 file changed
+5
@@ -120,6 +120,11 @@ fn merge_with_options_and_rebase_onto() {
|
||||
let tmp = tempfile::tempdir().unwrap();
|
||||
let dir = tmp.path();
|
||||
git(dir, &["init", "-q"], None);
|
||||
// Repo operations spawn their own Git commands, so command-local `-c`
|
||||
// options in the helper do not supply their committer identity.
|
||||
git(dir, &["config", "user.name", "Test"], None);
|
||||
git(dir, &["config", "user.email", "[email protected]"], None);
|
||||
git(dir, &["config", "commit.gpgsign", "false"], None);
|
||||
let base = commit(dir, "a.txt", "base", 1000);
|
||||
git(dir, &["checkout", "-q", "-b", "feature"], None);
|
||||
let f1 = commit(dir, "f.txt", "f1", 2000);
|
||||
|
||||
Reference in new issue
Заблокувати користувача