Revert "Start versioning cached git clones"
This reverts commit f4fe50a0958b7b47b32041e11d4943d6ae7d3972.
This commit is contained in:
parent
1cfeba04a8
commit
4716ee838e
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user