Merge pull request #295240 from linsui/gitproxy

fetchgit: set http.proxy globally for submodules

authored by Doron Behar and committed by GitHub c2684b4d 13a8da96

+1 -1
+1 -1
pkgs/build-support/fetchgit/nix-prefetch-git
··· 120 git config remote.origin.partialclonefilter "blob:none" 121 echo "$sparseCheckout" | git sparse-checkout set --stdin ${nonConeMode:+--no-cone} 122 fi 123 - ( [ -n "$http_proxy" ] && clean_git config http.proxy "$http_proxy" ) || true 124 } 125 126 # Return the reference of an hash if it exists on the remote repository.
··· 120 git config remote.origin.partialclonefilter "blob:none" 121 echo "$sparseCheckout" | git sparse-checkout set --stdin ${nonConeMode:+--no-cone} 122 fi 123 + ( [ -n "$http_proxy" ] && clean_git config --global http.proxy "$http_proxy" ) || true 124 } 125 126 # Return the reference of an hash if it exists on the remote repository.