p3400: replace calls to `git checkout -b' by `git checkout -B'
commit5aa24d71d850b6cd08a46daf7a3a3dc9c402f8d0
authorAlban Gruin <alban.gruin@gmail.com>
Fri, 9 Nov 2018 21:19:23 +0000 (9 22:19 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 12 Nov 2018 07:40:55 +0000 (12 16:40 +0900)
tree158c67489de0daf08888afb5995e2a0740e70ac7
parent8858448bb49332d353febc078ce4a3abcc962efe
p3400: replace calls to `git checkout -b' by `git checkout -B'

p3400 makes a copy of the current repository to test git-rebase
performance, and creates new branches in the copy with `git checkout
-b'.  If the original repository has branches with the same name as the
script is trying to create, this operation will fail.

This replaces these calls by `git checkout -B' to force the creation and
update of these branches.

Signed-off-by: Alban Gruin <alban.gruin@gmail.com>
Acked-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/perf/p3400-rebase.sh