Merge "git putFile: support flake maximalists" into main

This commit is contained in:
Maximilian Bosch 2024-05-26 10:16:40 +00:00 committed by Gerrit Code Review
commit 5986a720d4

View file

@ -402,7 +402,8 @@ struct GitInputScheme : InputScheme
logger->pause(); logger->pause();
Finally restoreLogger([]() { logger->resume(); }); Finally restoreLogger([]() { logger->resume(); });
runProgram("git", true, 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);
} }
} }
} }