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
commitb1d490cbeddd0cca1dc499f93129029847ac11eb (patch)
tree4f38f16194d9debb59a2fdf2859929fe85cf585b /Library/Homebrew
parent995186a72c6de199114d8701cf2f3a950847ef70 (diff)
downloadbrew-b1d490cbeddd0cca1dc499f93129029847ac11eb.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 Homebrew/homebrew#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