aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
authorJack Nagel2012-05-01 18:03:36 -0500
committerJack Nagel2012-05-01 18:07:58 -0500
commitb6002b2e52db65387e41d26ea3b8e25c41385195 (patch)
treef1733e4eb97d17749f4f071008b70464a493707d /Library/Homebrew
parent1554e57a00caaf2e73393cdf59aa08ba455aaf79 (diff)
downloadhomebrew-b6002b2e52db65387e41d26ea3b8e25c41385195.tar.bz2
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 <jacknagel@gmail.com>
Diffstat (limited to 'Library/Homebrew')
-rw-r--r--Library/Homebrew/download_strategy.rb1
1 files changed, 0 insertions, 1 deletions
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