Refer to default branch in links with HEAD

Anywhere we can use `blob/master` we can use `blob/HEAD` instead. This
will make life easier if we ever rename our default branch in future
(once/if Git and GitHub provides the necessary tooling to do so).
This commit is contained in:
Mike McQuaid
2020-06-25 11:38:40 +01:00
parent 1f770270b4
commit ac0665daff
32 changed files with 64 additions and 64 deletions
+2 -2
View File
@@ -2,13 +2,13 @@
## Supported Xcode versions
Homebrew supports and recommends the latest Xcode and/or Command Line
Tools available for your platform (see `OS::Mac::Xcode.latest_version` and `OS::Mac::CLT.latest_version` in [`Library/Homebrew/os/mac/xcode.rb`](https://github.com/Homebrew/brew/blob/master/Library/Homebrew/os/mac/xcode.rb)).
Tools available for your platform (see `OS::Mac::Xcode.latest_version` and `OS::Mac::CLT.latest_version` in [`Library/Homebrew/os/mac/xcode.rb`](https://github.com/Homebrew/brew/blob/HEAD/Library/Homebrew/os/mac/xcode.rb)).
## Updating for new Xcode releases
When a new Xcode release is made, the following things need to be
updated:
* In [`Library/Homebrew/os/mac/xcode.rb`](https://github.com/Homebrew/brew/blob/master/Library/Homebrew/os/mac/xcode.rb)
* In [`Library/Homebrew/os/mac/xcode.rb`](https://github.com/Homebrew/brew/blob/HEAD/Library/Homebrew/os/mac/xcode.rb)
* `OS::Mac::Xcode.latest_version`
* `OS::Mac::CLT.latest_version`
* `OS::Mac::Xcode.detect_version_from_clang_version`