From b6002b2e52db65387e41d26ea3b8e25c41385195 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Tue, 1 May 2012 18:03:36 -0500 Subject: Don't set GIT_DIR when staging git clones GIT_DIR is convenient, but it does not work when both a formula and subformula try to stage a git checkout, as git will use the main formula's repository when staging the subformula. Stop setting it, and restore the kludge to the git-multipush formula. Fixes #10893. Signed-off-by: Jack Nagel --- Library/Homebrew/download_strategy.rb | 1 - 1 file changed, 1 deletion(-) (limited to 'Library/Homebrew') diff --git a/Library/Homebrew/download_strategy.rb b/Library/Homebrew/download_strategy.rb index cb15e7224..6b8aff900 100644 --- a/Library/Homebrew/download_strategy.rb +++ b/Library/Homebrew/download_strategy.rb @@ -393,7 +393,6 @@ class GitDownloadStrategy < AbstractDownloadStrategy safe_system 'git', 'submodule', '--quiet', 'foreach', '--recursive', sub_cmd end end - ENV['GIT_DIR'] = cached_location+'.git' end end -- cgit v1.2.3