diff options
author | Maximilian Bosch <maximilian@mbosch.me> | 2024-05-26 10:16:40 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@lix-systems> | 2024-05-26 10:16:40 +0000 |
commit | 5986a720d47041b79ead2d1f58a172f410d29db5 (patch) | |
tree | 2a931b85cc40beee1256619a16881a83d9d23569 /src/libfetchers | |
parent | 53e2b0740ca8b034e360f4b1111b9dce1d18f3d5 (diff) | |
parent | 8220da8a53da6ff1f3f89587c3ba8e0759fd2e80 (diff) |
Merge "git putFile: support flake maximalists" into main
Diffstat (limited to 'src/libfetchers')
-rw-r--r-- | src/libfetchers/git.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libfetchers/git.cc b/src/libfetchers/git.cc index 671779f84..4d4bf6cd6 100644 --- a/src/libfetchers/git.cc +++ b/src/libfetchers/git.cc @@ -402,7 +402,8 @@ struct GitInputScheme : InputScheme logger->pause(); Finally restoreLogger([]() { logger->resume(); }); runProgram("git", true, - { "-C", *root, "--git-dir", gitDir, "commit", std::string(path.rel()), "-m", *commitMsg }); + { "-C", *root, "--git-dir", gitDir, "commit", std::string(path.rel()), "-F", "-" }, + *commitMsg); } } } |