p4: respect init.defaultBranch
commit1b09d1917f376d52e191102509d08303f8d26388
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Sun, 8 Nov 2020 08:41:51 +0000 (8 08:41 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 9 Nov 2020 21:01:47 +0000 (9 13:01 -0800)
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 <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-p4.py