Wireshark-commits: [Wireshark-commits] master 1868dce: make-version.pl: no need for git-ls-remote
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=1868dce4dee2ccfbb5ab3a60f88c192508b8ea13
Submitter: Gerald Combs (gerald@xxxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark
Commits:
1868dce by Peter Wu (peter@xxxxxxxxxxxxx):
make-version.pl: no need for git-ls-remote
In subversion, the URL was needed to find the branch. This is not needed
for git where a 'git branch' command suffices.
Remove the unused URL handling from git, this fixes a warning during
cmake on RHEL6 and avoids a fallback to SVN:
Version configuration file version.conf not found. Using defaults.
usage: git ls-remote [--heads] [--tags] [-u <exec> | --upload-pack <exec>] <repository> <refs>...
Unable to open ./.svn/entries
#define VCSVERSION "v2.1.0rc0-69-g2eb7e87"
#define VCSBRANCH "master"
Print the SVN warning to stderr, this avoids a compilation failure due
to a syntax error in version.h.
Change-Id: Idb28e74b7a9bf592686b45349cf5e81f85f6c358
Reviewed-on: https://code.wireshark.org/review/11041
Reviewed-by: Gerald Combs <gerald@xxxxxxxxxxxxx>
Actions performed:
from 2bde913 x11 generator: Support new XCB paramref
adds 1868dce make-version.pl: no need for git-ls-remote
Summary of changes:
make-version.pl | 21 ++++++++-------------
1 file changed, 8 insertions(+), 13 deletions(-)