diff options
Diffstat (limited to 'src/libfetchers/git.cc')
-rw-r--r-- | src/libfetchers/git.cc | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/libfetchers/git.cc b/src/libfetchers/git.cc index b33d893b7..10e125207 100644 --- a/src/libfetchers/git.cc +++ b/src/libfetchers/git.cc @@ -403,11 +403,8 @@ struct GitInputScheme : InputScheme AutoDelete const _delete{msgPath}; writeFile(msgPath, *commitMsg); - // Pause the logger to allow for user input (such as a gpg passphrase) in `git commit` - logger->pause(); - Finally restoreLogger([]() { logger->resume(); }); runProgram("git", true, - { "-C", *root, "--git-dir", gitDir, "commit", std::string(path.rel()), "-F", msgPath }); + { "-C", *root, "--git-dir", gitDir, "commit", std::string(path.rel()), "-F", msgPath }, true); } } } |