diff options
| author | Alexander Karatarakis <alkarata@microsoft.com> | 2017-04-03 16:29:11 -0700 |
|---|---|---|
| committer | Alexander Karatarakis <alkarata@microsoft.com> | 2017-04-04 16:44:46 -0700 |
| commit | 3f76b9e53d48e34960bb5947bbbb880ac806281b (patch) | |
| tree | e9ecddfe9b170f105e3ba58e7137f8ffa845fc13 /toolsrc/src/commands_portsdiff.cpp | |
| parent | 402552ef934d30c923e633daadc59ff853115df2 (diff) | |
| download | vcpkg-3f76b9e53d48e34960bb5947bbbb880ac806281b.tar.gz vcpkg-3f76b9e53d48e34960bb5947bbbb880ac806281b.zip | |
vcpkg_paths -> VcpkgPaths
Diffstat (limited to 'toolsrc/src/commands_portsdiff.cpp')
| -rw-r--r-- | toolsrc/src/commands_portsdiff.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/toolsrc/src/commands_portsdiff.cpp b/toolsrc/src/commands_portsdiff.cpp index 07ce774ec..249d48616 100644 --- a/toolsrc/src/commands_portsdiff.cpp +++ b/toolsrc/src/commands_portsdiff.cpp @@ -67,7 +67,7 @@ namespace vcpkg::Commands::PortsDiff } } - static std::map<std::string, VersionT> read_ports_from_commit(const vcpkg_paths& paths, const std::wstring& git_commit_id) + static std::map<std::string, VersionT> read_ports_from_commit(const VcpkgPaths& paths, const std::wstring& git_commit_id) { const fs::path& git_exe = paths.get_git_exe(); const fs::path dot_git_dir = paths.root / ".git"; @@ -100,7 +100,7 @@ namespace vcpkg::Commands::PortsDiff Checks::check_exit(VCPKG_LINE_INFO, output.output == VALID_COMMIT_OUTPUT, "Invalid commit id %s", Strings::utf16_to_utf8(git_commit_id)); } - void perform_and_exit(const VcpkgCmdArguments& args, const vcpkg_paths& paths) + void perform_and_exit(const VcpkgCmdArguments& args, const VcpkgPaths& paths) { static const std::string example = Strings::format("The argument should be a branch/tag/hash to checkout.\n%s", Commands::Help::create_example_string("portsdiff mybranchname")); args.check_min_arg_count(1, example); |
