diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2018-08-29 13:21:59 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2018-09-03 08:24:57 +0000 |
commit | 40ebf3e7c9d804143eb4e93dfef54f1f51586b9f (patch) | |
tree | d44134d02872f1d54ca0f4e5536623f36f62dfd8 | |
parent | e62bec6f5e96d7ce8a09693b7bebb2833d8fe03e (diff) |
Build without last-commit header
Change-Id: I92658998836c1e2a1c877433d587d98ce5bb1c32
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
-rw-r--r-- | gn/tools/gn/gn_main.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gn/tools/gn/gn_main.cc b/gn/tools/gn/gn_main.cc index a61a7527701..b6bca54b09c 100644 --- a/gn/tools/gn/gn_main.cc +++ b/gn/tools/gn/gn_main.cc @@ -16,7 +16,7 @@ #include "util/msg_loop.h" #include "util/sys_info.h" -#include "last_commit_position.h" +// #include "last_commit_position.h" namespace { @@ -49,7 +49,7 @@ int main(int argc, char** argv) { command = commands::kHelp; } else if (cmdline.HasSwitch(switches::kVersion)) { // Make "--version" print the version and exit. - OutputString(std::string(LAST_COMMIT_POSITION) + "\n"); +// OutputString(std::string(LAST_COMMIT_POSITION) + "\n"); exit(0); } else if (args.empty()) { // No command, print error and exit. |