diff --git a/src/libfetchers/git-utils.cc b/src/libfetchers/git-utils.cc index 563c2180d..d76f6879d 100644 --- a/src/libfetchers/git-utils.cc +++ b/src/libfetchers/git-utils.cc @@ -552,11 +552,12 @@ struct GitRepoImpl : GitRepo, std::enable_shared_from_this // we're using --quiet for now. Should process its stderr. .args = gitArgs, .input = {}, + .mergeStderrToStdout = true, .isInteractive = true }); - + if (status > 0) { - throw Error("Failed to fetch git repository %s: %s", url, output); + throw Error("Failed to fetch git repository %s : %s", url, output); } }