diff options
author | Gerald Combs <gerald@wireshark.org> | 2014-02-07 11:14:52 -0800 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2014-02-07 23:03:03 +0000 |
commit | f966980937abd4899a9c43329041bb00798ab18e (patch) | |
tree | e31210350fa778765b6d2d4711fc5cc6c27f2aae /captype.c | |
parent | 217f9fd0d9f2d6a9084da3fc945cce001414eea3 (diff) |
Replace "svn" with "git" all over the place.
Rename "SVNPATH" to "GITBRANCH" since that seems more appropriate.
Rename "svnversion.h" to "version.h" as Evan suggested. Update some
URLs. In make-version.pl, make sure we don't set an improper upstream
branch name. Use the number of commits + short hash from `git describe`
for package names by default.
Change-Id: I922bba8d83eabdf49284a119f55b4076bc469b96
Reviewed-on: https://code.wireshark.org/review/139
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'captype.c')
-rw-r--r-- | captype.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -61,14 +61,14 @@ #include <wsutil/unicode-utils.h> #endif /* _WIN32 */ -#include "svnversion.h" +#include "version.h" static void usage(void) { fprintf(stderr, "Captype %s" -#ifdef SVNVERSION - " (" SVNVERSION " from " SVNPATH ")" +#ifdef GITVERSION + " (" GITVERSION " from " GITBRANCH ")" #endif "\n", VERSION); fprintf(stderr, "Prints the file types of capture files.\n"); |