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:
config doc: add missing list separator for checkout.optimizeNewBranch
diff --git a/Documentation/config.txt b/Documentation/config.txt
index 112041f..8d85d1a 100644
--- a/Documentation/config.txt
+++ b/Documentation/config.txt
@@ -1159,7 +1159,7 @@
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