From f8a833cfb149b35d590e0f63fe194d1f4f9db42a Mon Sep 17 00:00:00 2001
From: Luca Bruno <lucabru@src.gnome.org>
Date: Sun, 9 Nov 2014 13:50:48 +0100
Subject: [PATCH] Revert "initialized git repo should use the set http_proxy"

This reverts commit 5af576ff7f4e657c0053f66d6fba03bfd1e97669.

See discussion on https://github.com/NixOS/nixpkgs/commit/5af576f
---
 pkgs/build-support/fetchgit/nix-prefetch-git | 1 -
 1 file changed, 1 deletion(-)

diff --git a/pkgs/build-support/fetchgit/nix-prefetch-git b/pkgs/build-support/fetchgit/nix-prefetch-git
index 1d172598722b..ff84f5adce97 100755
--- a/pkgs/build-support/fetchgit/nix-prefetch-git
+++ b/pkgs/build-support/fetchgit/nix-prefetch-git
@@ -83,7 +83,6 @@ init_remote(){
     local url=$1
     git init
     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.