Fix info --github

Closes Homebrew/homebrew#20780.
This commit is contained in:
Adam Vandenberg 2013-06-25 11:21:04 -07:00
parent 915977889c
commit faaac9482e

View File

@ -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"