Merge branch 'bp/checkout-new-branch-optim'

"git checkout -b newbranch [HEAD]" should not have to do as much as checking out a commit different from HEAD. An attempt is made to optimize this special case. * bp/checkout-new-branch-optim: checkout: optimize "git checkout -b <new_branch>"

Junio C Hamano committed Sep 17, 2018 at 13:53 UTC 0faaf7eafcd87c1e0b00e97018740153a048291a

No changes.