diff options
author | Jeff Morriss <jeff.morriss.ws@gmail.com> | 2014-06-10 14:29:46 -0400 |
---|---|---|
committer | Evan Huus <eapache@gmail.com> | 2014-06-12 23:56:00 +0000 |
commit | 4dfbb792c88abf30fa8a096e6b0144b06667e89b (patch) | |
tree | fb466595120736d49eb4069eeac1e24eb0e89deb /make-version.pl | |
parent | 51750bea8a61d1a7823bef5ebe5db5cd95b939d3 (diff) |
From Gisle Vanem on -dev: don't print modelines info when run with -h.
Also remove trailing white space.
Change-Id: Ic56140f617a2cbf9fa93fb427282eab0b6cff9c6
Reviewed-on: https://code.wireshark.org/review/2113
Reviewed-by: Evan Huus <eapache@gmail.com>
Diffstat (limited to 'make-version.pl')
-rwxr-xr-x | make-version.pl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/make-version.pl b/make-version.pl index ee2600906b..cda9eff18d 100755 --- a/make-version.pl +++ b/make-version.pl @@ -256,7 +256,7 @@ sub read_repo_info { no warnings "all"; # If someone had properly tagged 1.9.0 we could also use # "git describe --abbrev=1 --tags HEAD" - + $info_cmd = "(cd $srcdir; git log --format='%b' -n 1)"; $line = qx{$info_cmd}; if (defined($line)) { @@ -709,6 +709,8 @@ make-version.pl [options] [source directory] Options can be used in any combination. If none are specified B<--set-svn> is assumed. +=cut + # # Editor modelines - http://www.wireshark.org/tools/modelines.html # |