mirror of
https://github.com/NixOS/nix.git
synced 2025-11-09 03:56:01 +01:00
merge stderr to stdout so we can emit it
This commit is contained in:
parent
8e8416387c
commit
fb6f494d35
1 changed files with 3 additions and 2 deletions
|
|
@ -552,11 +552,12 @@ struct GitRepoImpl : GitRepo, std::enable_shared_from_this<GitRepoImpl>
|
|||
// 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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue