
- Use a safe fallback in case git rev-parse fails, e.g. if this is not considered a safe git directory. For hopefully obvious reasons: be super careful and strict with the inputs we'll accept here. - Better handle more permission errors when reading or writing to/from the git describe cache. We don't care about these errors because they are likely a result of a multiuser configuration where Homebrew is run as several different users and this is just a (small) performance improvement.
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.