Skip to content

Commit 58e4ace

Browse files
committed
set git user to avoid test-failures in ci
1 parent 1619b98 commit 58e4ace

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

helix-vcs/src/git/test.rs

+2
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ fn create_commit(repo: &Path, add_modified: bool) {
2828
fn empty_git_repo() -> TempDir {
2929
let tmp = tempfile::tempdir().expect("create temp dir for git testing");
3030
exec_git_cmd("init", tmp.path());
31+
exec_git_cmd("config user.email [email protected]", tmp.path());
32+
exec_git_cmd("config user.name helix-test", tmp.path());
3133
tmp
3234
}
3335

0 commit comments

Comments
 (0)