config.txt: move worktree.* to a separate file

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Nguyễn Thái Ngọc Duy committed Oct 27, 2018 at 08:23 UTC 649cf589117d5f3a4bf024a187f70f216ed9d114
2 files changed +10 -9
Documentation/config.txt
+1 -9
@@ -435,12 +435,4 @@ include::config/versionsort.txt[]
435
436 include::config/web.txt[]
437
438 -worktree.guessRemote::
439 - With `add`, if no branch argument, and neither of `-b` nor
440 - `-B` nor `--detach` are given, the command defaults to
441 - creating a new branch from HEAD. If `worktree.guessRemote` is
442 - set to true, `worktree add` tries to find a remote-tracking
443 - branch whose name uniquely matches the new branch name. If
444 - such a branch exists, it is checked out and set as "upstream"
445 - for the new branch. If no such match can be found, it falls
446 - back to creating a new branch from the current HEAD.
438 +include::config/worktree.txt[]
Documentation/config/worktree.txt new
+9
@@ -0,0 +1,9 @@
1 +worktree.guessRemote::
2 + With `add`, if no branch argument, and neither of `-b` nor
3 + `-B` nor `--detach` are given, the command defaults to
4 + creating a new branch from HEAD. If `worktree.guessRemote` is
5 + set to true, `worktree add` tries to find a remote-tracking
6 + branch whose name uniquely matches the new branch name. If
7 + such a branch exists, it is checked out and set as "upstream"
8 + for the new branch. If no such match can be found, it falls
9 + back to creating a new branch from the current HEAD.