aboutsummaryrefslogtreecommitdiff
path: root/src/libfetchers
diff options
context:
space:
mode:
authorMaximilian Bosch <maximilian@mbosch.me>2024-05-26 10:16:40 +0000
committerGerrit Code Review <gerrit@lix-systems>2024-05-26 10:16:40 +0000
commit5986a720d47041b79ead2d1f58a172f410d29db5 (patch)
tree2a931b85cc40beee1256619a16881a83d9d23569 /src/libfetchers
parent53e2b0740ca8b034e360f4b1111b9dce1d18f3d5 (diff)
parent8220da8a53da6ff1f3f89587c3ba8e0759fd2e80 (diff)
Merge "git putFile: support flake maximalists" into main
Diffstat (limited to 'src/libfetchers')
-rw-r--r--src/libfetchers/git.cc3
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);
}
}
}