From a555799a7c489cae41895df79e773669fb2107ba Mon Sep 17 00:00:00 2001 From: Philippe Teuwen Date: Sat, 27 Apr 2019 10:41:10 +0200 Subject: [PATCH] Stop poking Internet when compiling --- tools/mkversion.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/mkversion.pl b/tools/mkversion.pl index ed5cea206..a71aac96f 100644 --- a/tools/mkversion.pl +++ b/tools/mkversion.pl @@ -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`;