]> git.ipfire.org Git - thirdparty/git.git/commit
completion: tests: always use 'master' for default initial branch name
authorBritton Leo Kerin <britton.kerin@gmail.com>
Tue, 6 Feb 2024 21:50:42 +0000 (12:50 -0900)
committerJunio C Hamano <gitster@pobox.com>
Tue, 6 Feb 2024 23:11:45 +0000 (15:11 -0800)
commitdb489ea4f368656d7b0d5702f0bcc06779ea89d0
treef902c3cbebfc3481a5f6e28e3240deca47b8d136
parente79552d19784ee7f4bbce278fe25f93fbda196fa
completion: tests: always use 'master' for default initial branch name

The default initial branch name can normally be configured using the
GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME environment variable.  However,
when testing e.g. <rev> completion it's convenient to know the
exact initial branch name that will be used.

To achieve that without too much trouble it is considered sufficient
to force the default initial branch name to 'master' for all of
t9902-completion.sh.

Signed-off-by: Britton Leo Kerin <britton.kerin@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t9902-completion.sh