p4: respect init.defaultBranch
authorJohannes Schindelin <redacted>
Sun, 8 Nov 2020 08:41:51 +0000 (08:41 +0000)
committerJunio C Hamano <redacted>
Mon, 9 Nov 2020 21:01:47 +0000 (13:01 -0800)
commit1b09d1917f376d52e191102509d08303f8d26388
treec55aa637b9408c68ef6a6e087f07dc61ff36421f
parent898f80736c75878acc02dc55672317fcc0e0a5a6
p4: respect init.defaultBranch

In `git p4 clone`, we hard-code the branch name `master` instead of
looking what the _actual_ initial branch name is. Let's fix that.

Signed-off-by: Johannes Schindelin <redacted>
Signed-off-by: Junio C Hamano <redacted>
git-p4.py
git clone https://git.99rst.org/PROJECT