Merge pull request #10686 from DeterminateSystems/long-commit-message

git putFile: support flake maximalists
This commit is contained in:
Eelco Dolstra 2024-05-13 10:22:57 +02:00 committed by GitHub
commit d8559cad8d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -342,7 +342,8 @@ struct GitInputScheme : InputScheme
logger->pause();
Finally restoreLogger([]() { logger->resume(); });
runProgram("git", true,
{ "-C", repoInfo.url, "--git-dir", repoInfo.gitDir, "commit", std::string(path.rel()), "-m", *commitMsg });
{ "-C", repoInfo.url, "--git-dir", repoInfo.gitDir, "commit", std::string(path.rel()), "-F", "-" },
*commitMsg);
}
}
}