Stop poking Internet when compiling
This commit is contained in:
@@ -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`;
|
||||
|
||||
Reference in New Issue
Block a user