mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-19 20:09:01 +02:00
fetchgit: set http.proxy globally for submodules
git config in the repo doesn't work for submodules
This commit is contained in:
parent
936ae679c9
commit
1ed37ac9f3
|
@ -120,7 +120,7 @@ init_remote(){
|
|||
git config remote.origin.partialclonefilter "blob:none"
|
||||
echo "$sparseCheckout" | git sparse-checkout set --stdin ${nonConeMode:+--no-cone}
|
||||
fi
|
||||
( [ -n "$http_proxy" ] && clean_git config http.proxy "$http_proxy" ) || true
|
||||
( [ -n "$http_proxy" ] && clean_git config --global http.proxy "$http_proxy" ) || true
|
||||
}
|
||||
|
||||
# Return the reference of an hash if it exists on the remote repository.
|
||||
|
|
Loading…
Reference in a new issue