aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/fetch.rb
diff options
context:
space:
mode:
authorMike McQuaid2014-10-19 13:54:00 +0100
committerMike McQuaid2014-10-21 23:04:55 +0100
commit356e75487e5fbce964f92e336cee52b9541de65c (patch)
tree5d4e027d5e03b5019ea1b97add9733772d38f676 /Library/Homebrew/cmd/fetch.rb
parentdcc8309d1bd50f6d3dc7ac2fd8a50cf97ba72eda (diff)
downloadbrew-356e75487e5fbce964f92e336cee52b9541de65c.tar.bz2
Point to a tap when installing or fetching.
When installing or fetching and stuff goes wrong we can't always catch the error and redirect to the tap. Instead, point to the tap before we do anything failure-prone and hopefully that'll encourage people to file issues in the right place. If not we can say that explicitly. Closes Homebrew/homebrew#33220.
Diffstat (limited to 'Library/Homebrew/cmd/fetch.rb')
-rw-r--r--Library/Homebrew/cmd/fetch.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Homebrew/cmd/fetch.rb b/Library/Homebrew/cmd/fetch.rb
index 71b9f6573..5ac41a4d3 100644
--- a/Library/Homebrew/cmd/fetch.rb
+++ b/Library/Homebrew/cmd/fetch.rb
@@ -17,6 +17,8 @@ module Homebrew
puts "Fetching: #{bucket * ', '}" if bucket.size > 1
bucket.each do |f|
+ f.print_tap_action :verb => "Fetching"
+
if fetch_bottle?(f)
fetch_formula(f.bottle)
else