]> git.ipfire.org Git - thirdparty/git.git/commit
Merge branch 'bp/checkout-new-branch-optim'
authorJunio C Hamano <gitster@pobox.com>
Mon, 17 Sep 2018 20:53:48 +0000 (13:53 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 17 Sep 2018 20:53:48 +0000 (13:53 -0700)
commit0faaf7eafcd87c1e0b00e97018740153a048291a
tree7977beb4886a875dc8e5d902b76ca4f666fa0871
parentea64414426319b31fe9c2a1aae727c14d36d7d6f
parentfa655d8411cc2d7ffcf898e53a1493c737d7de68
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>"
Documentation/config.txt
builtin/checkout.c