Revert "initialized git repo should use the set http_proxy"
This reverts commit 5af576ff7f4e657c0053f66d6fba03bfd1e97669. See discussion on https://github.com/NixOS/nixpkgs/commit/5af576f
This commit is contained in:
parent
83221f3886
commit
f8a833cfb1
@ -83,7 +83,6 @@ init_remote(){
|
|||||||
local url=$1
|
local url=$1
|
||||||
git init
|
git init
|
||||||
git remote add origin $url
|
git remote add origin $url
|
||||||
[ -n "$http_proxy" ] && git config http.proxy $http_proxy
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# Return the reference of an hash if it exists on the remote repository.
|
# Return the reference of an hash if it exists on the remote repository.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user