scripts/env: fix env for git conf init.defaultBranch not set to "master"
authorArne Zachlod <arne@nerdkeller.org>
Wed, 10 Nov 2021 13:47:55 +0000 (14:47 +0100)
committerPaul Spooren <mail@aparcar.org>
Sat, 13 Nov 2021 20:29:41 +0000 (10:29 -1000)
commitb5ab6d0bc577e81a77f39211883f6c0c4155b6ed
treed358f46b31561e63ff2a82ebbde6d78b5ff979ee
parent7bc18aa2846d5fc4c35bbdf5b3aae486eb485850
scripts/env: fix env for git conf init.defaultBranch not set to "master"

Since version 2.28, git has a config option init.defaultBranch to set the name
of the first branch created with git init. The env script expects this name to
be "master". This commit sets the initial branch name to "master"
instead of using the git configured one.

Signed-off-by: Arne Zachlod <arne@nerdkeller.org>
scripts/env