brew/Library
Adrian Ho c7bbb904e8 diagnostic: add check for broken taps
Detect half-baked core taps that show up on a fairly regular basis (e.g. #11465).

The logic is simple enough: Since an improper tap wouldn't have a complete Git config, and is always somewhere below `HOMEBREW_REPOSITORY`, any Git operation would look at the Brew repo instead. We simply need to test for any of:

1. Empty tap origin
2. Empty tap HEAD
3. Tap HEAD == Brew HEAD
2021-06-01 23:16:45 +08:00
..
2021-05-12 13:07:24 +01:00

Library

This directory contains all the code run by the official brew command in Homebrew and all formulae (package descriptions) in taps (repositories containing formulae) in Taps subdirectories.