aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/update-ruby.rb
diff options
context:
space:
mode:
authorMike McQuaid2016-02-18 10:41:09 +0000
committerMike McQuaid2016-02-18 10:43:10 +0000
commit3ac1c7b6533dc5cfe4e74155538ded8b2b1ee9ec (patch)
treecf89969f21c4cbf5b91060a458fd5bb5a60b9d82 /Library/Homebrew/cmd/update-ruby.rb
parentf2faf49e3f189885c6787f7d4beb680c3a987d4f (diff)
downloadbrew-3ac1c7b6533dc5cfe4e74155538ded8b2b1ee9ec.tar.bz2
update: use GitHub API to avoid unneeded fetches.
Check to see if `HEAD` is the same as what we have locally. If it is: don't bother to `git fetch`. Closes Homebrew/homebrew#47888. Closes Homebrew/homebrew#49219. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Homebrew/cmd/update-ruby.rb')
0 files changed, 0 insertions, 0 deletions