--- a/src/main.cpp Sun Jul 20 17:25:36 2014 +0300 +++ b/src/main.cpp Mon Jul 21 17:14:42 2014 +0300 @@ -33,7 +33,7 @@ #include "dataBuffer.h" #include "parser.h" #include "lexer.h" -#include "gitinfo.h" +#include "hginfo.h" int main (int argc, char** argv) { @@ -71,13 +71,6 @@ String headerline; header = format (APPNAME " version %1", versionString (true)); - if (String (GIT_BRANCH) != "master") - { - header += " ("; - header += GIT_BRANCH; - header += " branch"; - } - #ifdef DEBUG if (header.firstIndexOf ("(") != -1) header += ", "; @@ -196,7 +189,7 @@ // ============================================================================= // -String versionString (bool longform) +String versionString (bool) { #if defined(GIT_DESCRIPTION) and defined (DEBUG) String tag (GIT_DESCRIPTION);