1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2024-09-19 10:50:24 -04:00

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);
}
}
}