Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ void includesGitInfoWhenEnabled(String originUrl, @TempDir Path tempDirectory) t

execGit(tempDirectory, "config", "user.name", "Alice");
execGit(tempDirectory, "config", "user.email", "alice@example.org");
execGit(tempDirectory, "commit", "-m", "Initial commit");
execGit(tempDirectory, "commit", "--no-gpg-sign", "-m", "Initial commit");

var engine = new DemoHierarchicalTestEngine("dummy");

Expand Down Expand Up @@ -280,6 +280,7 @@ private static ProcessResult tryExecGit(Path workingDir, String... arguments) th
System.out.println("$ git " + String.join(" ", arguments));
return new ProcessStarter() //
.executable(Path.of("git")) //
.putEnvironment("GIT_CONFIG_GLOBAL", "/dev/null") // https://git-scm.com/docs/git#Documentation/git.txt-GITCONFIGGLOBAL
.workingDir(workingDir) //
.addArguments(arguments) //
.startAndWait();
Expand Down