1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-07 10:11:47 +02:00

Merge pull request #10692 from NixOS/backport-10686-to-2.22-maintenance

[Backport 2.22-maintenance] git putFile: support flake maximalists
This commit is contained in:
Eelco Dolstra 2024-05-13 15:55:39 +02:00 committed by GitHub
commit f06bf9d4f7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -343,7 +343,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);
}
}
}