aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/include
diff options
context:
space:
mode:
authorVictor Romero <romerosanchezv@gmail.com>2019-09-06 11:35:56 -0700
committerGitHub <noreply@github.com>2019-09-06 11:35:56 -0700
commit84ba23ad3300a86e00841c5e26cbf753f6e89f3f (patch)
tree789b5892900ad7b47806b2af0077762f52cc6d20 /toolsrc/include
parent33f15e40e858dcabddd1f1cc1b67368778516fbf (diff)
downloadvcpkg-84ba23ad3300a86e00841c5e26cbf753f6e89f3f.tar.gz
vcpkg-84ba23ad3300a86e00841c5e26cbf753f6e89f3f.zip
[x-history] Prints CONTROL version history of a port 👻 (#7377)
* [port-history] Print port CONTROL version history * Add commands.porthistory.cpp to VS project * Get most recent commit for each version * Apply clang-format * Fix output format * Rename command to x-history
Diffstat (limited to 'toolsrc/include')
-rw-r--r--toolsrc/include/vcpkg/commands.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/toolsrc/include/vcpkg/commands.h b/toolsrc/include/vcpkg/commands.h
index 8a502122e..e73077e1d 100644
--- a/toolsrc/include/vcpkg/commands.h
+++ b/toolsrc/include/vcpkg/commands.h
@@ -100,6 +100,11 @@ namespace vcpkg::Commands
void perform_and_exit(const VcpkgCmdArguments& args, const VcpkgPaths& paths);
}
+ namespace PortHistory
+ {
+ void perform_and_exit(const VcpkgCmdArguments& args, const VcpkgPaths& paths);
+ }
+
namespace Autocomplete
{
void perform_and_exit(const VcpkgCmdArguments& args, const VcpkgPaths& paths);