Merge branch 'bp/checkout-new-branch-optim'
authorJunio C Hamano <gitster@pobox.com>
Thu, 20 Sep 2018 21:51:43 +0000 (14:51 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 20 Sep 2018 21:51:43 +0000 (14:51 -0700)
"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:
config doc: add missing list separator for checkout.optimizeNewBranch

Documentation/config.txt
index 112041f407eff8e71cafa03b2abc772f498a1084..8d85d1a324269d16dcaba66183ba30756fac25b1 100644 (file)
@@ -1159,7 +1159,7 @@ and by linkgit:git-worktree[1] when 'git worktree add' refers to a
 remote branch. This setting might be used for other checkout-like
 commands or functionality in the future.
 
-checkout.optimizeNewBranch
+checkout.optimizeNewBranch::
        Optimizes the performance of "git checkout -b <new_branch>" when
        using sparse-checkout.  When set to true, git will not update the
        repo based on the current sparse-checkout settings.  This means it