aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/src/commands_portsdiff.cpp
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2017-03-13 16:17:47 -0700
committerAlexander Karatarakis <alkarata@microsoft.com>2017-03-13 16:17:47 -0700
commitd02d602090b81e301fcf773d737e0423f5966bf0 (patch)
tree3bf9c19862a21b9da09c8a8c2f59668ac48c08e5 /toolsrc/src/commands_portsdiff.cpp
parent2d94b2198af4fa67d5c3289336b3eb20f8c446ef (diff)
downloadvcpkg-d02d602090b81e301fcf773d737e0423f5966bf0.tar.gz
vcpkg-d02d602090b81e301fcf773d737e0423f5966bf0.zip
System::cmd_execute_and_capture_output() now redirects std::err to std::out
Diffstat (limited to 'toolsrc/src/commands_portsdiff.cpp')
-rw-r--r--toolsrc/src/commands_portsdiff.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolsrc/src/commands_portsdiff.cpp b/toolsrc/src/commands_portsdiff.cpp
index 4d5a589f6..dea95f56c 100644
--- a/toolsrc/src/commands_portsdiff.cpp
+++ b/toolsrc/src/commands_portsdiff.cpp
@@ -57,7 +57,7 @@ namespace vcpkg::Commands::PortsDiff
{
static const std::string VALID_COMMIT_OUTPUT = "commit\n";
- const std::wstring cmd = Strings::wformat(LR"("%s" cat-file -t %s 2>NUL)", git_exe.native(), git_commit_id);
+ const std::wstring cmd = Strings::wformat(LR"("%s" cat-file -t %s)", git_exe.native(), git_commit_id);
const System::exit_code_and_output output = System::cmd_execute_and_capture_output(cmd);
Checks::check_exit(output.output == VALID_COMMIT_OUTPUT, "Invalid commit id %s", Strings::utf16_to_utf8(git_commit_id));
}