]> git.ipfire.org Git - thirdparty/git.git/commitdiff
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)
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

1  2 
builtin/clone.c
builtin/submodule--helper.c
cache.h
refs.c
refs.h
send-pack.c
t/t9020-remote-svn.sh
transport-helper.c

diff --cc builtin/clone.c
Simple merge
Simple merge
diff --cc cache.h
Simple merge
diff --cc refs.c
Simple merge
diff --cc refs.h
Simple merge
diff --cc send-pack.c
Simple merge
Simple merge
Simple merge