Stop poking Internet when compiling

This commit is contained in:
Philippe Teuwen 2019-04-27 10:41:10 +02:00
parent 200290bc56
commit a555799a7c

View file

@ -32,7 +32,8 @@ my $commandGIT = "env which git";
if ( defined($commandGIT) ) {
my $githistory = `git fetch --all`;
# this goes on Internet and cause major slowdowns on poor connections or intranets, let's comment it
#my $githistory = `git fetch --all`;
# now avoiding the "fatal: No names found, cannot describe anything." error by fallbacking to abbrev hash in such case
my $gitversion = `git describe --dirty --always`;
my $gitbranch = `git rev-parse --abbrev-ref HEAD`;