aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/info.rb
diff options
context:
space:
mode:
authorAdam Vandenberg2013-06-25 11:21:04 -0700
committerAdam Vandenberg2013-06-25 11:21:04 -0700
commitfaaac9482efdc35268382b65dcea41a274ea4846 (patch)
treeb3a6b91a4ec43b5f3a3dc125d23a6091e4628954 /Library/Homebrew/cmd/info.rb
parent915977889c98b047ec8d418f4c44a37c6aa72da9 (diff)
downloadbrew-faaac9482efdc35268382b65dcea41a274ea4846.tar.bz2
Fix info --github
Closes Homebrew/homebrew#20780.
Diffstat (limited to 'Library/Homebrew/cmd/info.rb')
-rw-r--r--Library/Homebrew/cmd/info.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/cmd/info.rb b/Library/Homebrew/cmd/info.rb
index ab328ea78..0b757b388 100644
--- a/Library/Homebrew/cmd/info.rb
+++ b/Library/Homebrew/cmd/info.rb
@@ -79,7 +79,7 @@ module Homebrew extend self
path = "Library/Formula/#{path.basename}"
end
- "From: https://github.com/#{user}/#{repo}/commits/master/#{path}"
+ "https://github.com/#{user}/#{repo}/commits/master/#{path}"
end
def info_formula f
@@ -116,7 +116,7 @@ module Homebrew extend self
end
history = github_info(f)
- puts history if history
+ puts "From: #{history}" if history
unless f.deps.empty?
ohai "Dependencies"