]> git.ipfire.org Git - thirdparty/git.git/commit
Merge branch 'js/default-branch-name'
authorJunio C Hamano <gitster@pobox.com>
Tue, 7 Jul 2020 05:09:17 +0000 (22:09 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 7 Jul 2020 05:09:17 +0000 (22:09 -0700)
commit11cbda2add5d3eb7c415f1f6dd8186181a7f9874
tree7d722860aa28b92087406bf063c7ad6fe6c45c30
parent480e78595ea531482018826d35fed0fb0529afa2
parent508fd8e8baf3e18ee40b2cf0b8899188a8506d07
Merge branch 'js/default-branch-name'

The name of the primary branch in existing repositories, and the
default name used for the first branch in newly created
repositories, is made configurable, so that we can eventually wean
ourselves off of the hardcoded 'master'.

* js/default-branch-name:
  contrib: subtree: adjust test to change in fmt-merge-msg
  testsvn: respect `init.defaultBranch`
  remote: use the configured default branch name when appropriate
  clone: use configured default branch name when appropriate
  init: allow setting the default for the initial branch name via the config
  init: allow specifying the initial branch name for the new repository
  docs: add missing diamond brackets
  submodule: fall back to remote's HEAD for missing remote.<name>.branch
  send-pack/transport-helper: avoid mentioning a particular branch
  fmt-merge-msg: stop treating `master` specially
builtin/clone.c
builtin/submodule--helper.c
cache.h
refs.c
refs.h
send-pack.c
t/t9020-remote-svn.sh
transport-helper.c