brew update will correct this to be on a stable tag, but picking master initially is not ideal because it means brew update will perform a downgrade and we don't test downgrades (but will accept fixes where there are issues). An example of an issue caused by a downgrade is #825.
Currently we check out
master
when cloningHomebrew/brew
: https://github.com/Homebrew/install/blob/3d2b88baf18424b561766fcdac31be06553e0e07/install.sh#L933brew update
will correct this to be on a stable tag, but pickingmaster
initially is not ideal because it meansbrew update
will perform a downgrade and we don't test downgrades (but will accept fixes where there are issues). An example of an issue caused by a downgrade is #825.Instead, short of a full
stable
-branch setup thatbrew update
does, an initial detached tag checkout would be much better. Detached tag checkouts without astable
branch now work without downgrades since https://github.com/Homebrew/brew/commit/2a02038690db452b71c26d5beb9d1f07b068cacf.