]> git.ipfire.org Git - thirdparty/git.git/commit
subtree: t7900: update for having the default branch name be 'main'
authorLuke Shumaker <lukeshu@datawire.io>
Tue, 27 Apr 2021 21:17:20 +0000 (15:17 -0600)
committerJunio C Hamano <gitster@pobox.com>
Wed, 28 Apr 2021 07:47:16 +0000 (16:47 +0900)
commit914d5125510f50cd8761768f16970a29cbce909c
tree6bad7bdbb30e4a5a88ebcc96c2d2dc11edbb86e2
parent4c996deb4af99ce73c67d47ac9cfc9400c216ebf
subtree: t7900: update for having the default branch name be 'main'

Most of the tests had been converted to support
`GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME=main`, but `contrib/subtree/t/`
hadn't.

Convert it.  Most of the mentions of 'master' can just be replaced with
'HEAD'.

Signed-off-by: Luke Shumaker <lukeshu@datawire.io>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/subtree/t/t7900-subtree.sh