Merge pull request #16386 from apainintheneck/limit-config-tap-info-output
cmd/config: limit tap info output
This commit is contained in:
commit
2cbe3886e0
@ -121,10 +121,10 @@ module SystemConfig
|
|||||||
end
|
end
|
||||||
|
|
||||||
if tap.installed?
|
if tap.installed?
|
||||||
out.puts "#{tap_name} origin: #{tap.remote}"
|
out.puts "#{tap_name} origin: #{tap.remote}" if tap.remote != tap.default_remote
|
||||||
out.puts "#{tap_name} HEAD: #{tap.git_head || "(none)"}"
|
out.puts "#{tap_name} HEAD: #{tap.git_head || "(none)"}"
|
||||||
out.puts "#{tap_name} last commit: #{tap.git_last_commit || "never"}"
|
out.puts "#{tap_name} last commit: #{tap.git_last_commit || "never"}"
|
||||||
out.puts "#{tap_name} branch: #{tap.git_branch || "(none)"}"
|
out.puts "#{tap_name} branch: #{tap.git_branch || "(none)"}" if tap.git_branch != "master"
|
||||||
end
|
end
|
||||||
|
|
||||||
if (json_file = Homebrew::API::HOMEBREW_CACHE_API/json_file_name) && json_file.exist?
|
if (json_file = Homebrew::API::HOMEBREW_CACHE_API/json_file_name) && json_file.exist?
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user