File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 154
154
fi
155
155
156
156
# Required installation paths. To install elsewhere (which is unsupported)
157
- # you can untar https://github.com/Homebrew/brew/tarball/master
157
+ # you can untar https://github.com/Homebrew/brew/tarball/main
158
158
# anywhere you like.
159
159
if [[ -n " ${HOMEBREW_ON_MACOS-} " ]]
160
160
then
@@ -620,7 +620,7 @@ echo "${HOMEBREW_PREFIX}/etc/bash_completion.d/brew"
620
620
echo " ${HOMEBREW_REPOSITORY} "
621
621
622
622
# Keep relatively in sync with
623
- # https://github.com/Homebrew/brew/blob/master /Library/Homebrew/keg.rb
623
+ # https://github.com/Homebrew/brew/blob/HEAD /Library/Homebrew/keg.rb
624
624
directories=(
625
625
bin etc include lib sbin share opt var
626
626
Frameworks
@@ -943,11 +943,12 @@ ohai "Downloading and installing Homebrew..."
943
943
cd " ${HOMEBREW_REPOSITORY} " > /dev/null || return
944
944
945
945
# we do it in four steps to avoid merge errors when reinstalling
946
- execute " ${USABLE_GIT} " " -c " " init.defaultBranch=master " " init" " --quiet"
946
+ execute " ${USABLE_GIT} " " init" " --quiet"
947
947
948
948
# "git remote add" will fail if the remote is defined in the global config
949
949
execute " ${USABLE_GIT} " " config" " remote.origin.url" " ${HOMEBREW_BREW_GIT_REMOTE} "
950
950
execute " ${USABLE_GIT} " " config" " remote.origin.fetch" " +refs/heads/*:refs/remotes/origin/*"
951
+ execute " ${USABLE_GIT} " " config" " --bool" " fetch.prune" " true"
951
952
952
953
# ensure we don't munge line endings on checkout
953
954
execute " ${USABLE_GIT} " " config" " --bool" " core.autocrlf" " false"
You can’t perform that action at this time.
0 commit comments