aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/utils/inreplace.rb
diff options
context:
space:
mode:
authorMike McQuaid2015-03-07 14:59:30 +0000
committerMike McQuaid2015-03-08 10:48:58 +0000
commitb6a0105b7ec12544aaa0f3f75fa0f07993bdcab4 (patch)
tree4f21cadb23afb3ccd57c623567a8aa13811ce6f3 /Library/Homebrew/utils/inreplace.rb
parent5206a2523e1b30f830f5cfffbd9965fefebf6fed (diff)
downloadbrew-b6a0105b7ec12544aaa0f3f75fa0f07993bdcab4.tar.bz2
download_strategy: raise on wrong tag revision.
Adds some added security to Git tags so we are able to provide an effective checksum rather than letting them be changed without our knowing. Also: - Reprioritise ref_types. Tag should take priority over branch and revisions over a single one. - Add current_revision method. Used to verify the current repository revision matches the specified revision. Currently only implemented for Git.
Diffstat (limited to 'Library/Homebrew/utils/inreplace.rb')
0 files changed, 0 insertions, 0 deletions