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(); logger->pause();
Finally restoreLogger([]() { logger->resume(); }); Finally restoreLogger([]() { logger->resume(); });
runProgram("git", true, 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);
} }
} }
} }