aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike McQuaid2014-12-18 13:03:32 +0000
committerMike McQuaid2014-12-18 13:03:32 +0000
commit0f4e1cea42a0c33865da3dfb1810a1bbd19b83f0 (patch)
tree90844ae4cee67e3933f36eedef9aa93f8f3a633f
parentaabb0df0b9ac32bbf10de81dde31ff7dd820b170 (diff)
downloadhomebrew-0f4e1cea42a0c33865da3dfb1810a1bbd19b83f0.tar.bz2
Revert "Start versioning cached git clones"
This reverts commit f4fe50a0958b7b47b32041e11d4943d6ae7d3972.
-rw-r--r--Library/Homebrew/download_strategy.rb5
1 files changed, 0 insertions, 5 deletions
diff --git a/Library/Homebrew/download_strategy.rb b/Library/Homebrew/download_strategy.rb
index d48aed960..65d47c161 100644
--- a/Library/Homebrew/download_strategy.rb
+++ b/Library/Homebrew/download_strategy.rb
@@ -534,10 +534,6 @@ class GitDownloadStrategy < VCSDownloadStrategy
"git"
end
- def cache_version
- 0
- end
-
def update
cached_location.cd do
config_repo
@@ -604,7 +600,6 @@ class GitDownloadStrategy < VCSDownloadStrategy
def clone_repo
safe_system 'git', *clone_args
- safe_system "git", "config", "homebrew.cacheversion", cache_version
cached_location.cd { update_submodules } if submodules?
end