Skip to content

Commit

Permalink
cmd/update-report: remove renamed remote report
Browse files Browse the repository at this point in the history
No longer needed, as cmd/update fixes renamed remotes instead.
  • Loading branch information
rrotter committed Feb 23, 2025
1 parent b3ecfdb commit 3a2b45d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 14 deletions.
13 changes: 0 additions & 13 deletions Library/Homebrew/cmd/update-report.rb
Original file line number Diff line number Diff line change
Expand Up @@ -259,19 +259,6 @@ def output_update_report
link_completions_manpages_and_docs
Tap.installed.each(&:link_completions_and_manpages)

failed_fetch_dirs = ENV["HOMEBREW_MISSING_REMOTE_REF_DIRS"]&.split("\n")
if failed_fetch_dirs.present?
failed_fetch_taps = failed_fetch_dirs.map { |dir| Tap.from_path(dir) }

ofail <<~EOS
Some taps failed to update!
The following taps can not read their remote branches:
#{failed_fetch_taps.join("\n ")}
This is happening because the remote branch was renamed or deleted.
Reset taps to point to the correct remote branches by running `brew tap --repair`
EOS
end

return if new_tag.blank? || new_tag == old_tag || args.quiet?

puts
Expand Down
1 change: 0 additions & 1 deletion Library/Homebrew/cmd/update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -932,7 +932,6 @@ EOS
# shellcheck disable=SC2031
if [[ -n "${HOMEBREW_UPDATED}" ]] ||
[[ -n "${HOMEBREW_UPDATE_FAILED}" ]] ||
[[ -n "${HOMEBREW_MISSING_REMOTE_REF_DIRS}" ]] ||
[[ -n "${HOMEBREW_UPDATE_FORCE}" ]] ||
[[ -n "${HOMEBREW_MIGRATE_LINUXBREW_FORMULAE}" ]] ||
[[ -d "${HOMEBREW_LIBRARY}/LinkedKegs" ]] ||
Expand Down

0 comments on commit 3a2b45d

Please sign in to comment.