From 4dfbb792c88abf30fa8a096e6b0144b06667e89b Mon Sep 17 00:00:00 2001 From: Jeff Morriss Date: Tue, 10 Jun 2014 14:29:46 -0400 Subject: 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 --- make-version.pl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'make-version.pl') 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 # -- cgit v1.2.3