config.txt: move completion.* 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:22 UTC 2b4b7305d376d598892b4dbb9e699109f9dda1b9
2 files changed +8 -7
Documentation/config.txt
+1 -7
@@ -317,13 +317,7 @@ include::config/commit.txt[]
317
318 include::config/credential.txt[]
319
320 -completion.commands::
321 - This is only used by git-completion.bash to add or remove
322 - commands from the list of completed commands. Normally only
323 - porcelain commands and a few select others are completed. You
324 - can add more commands, separated by space, in this
325 - variable. Prefixing the command with '-' will remove it from
326 - the existing list.
320 +include::config/completion.txt[]
321
322 include::diff-config.txt[]
323
Documentation/config/completion.txt new
+7
@@ -0,0 +1,7 @@
1 +completion.commands::
2 + This is only used by git-completion.bash to add or remove
3 + commands from the list of completed commands. Normally only
4 + porcelain commands and a few select others are completed. You
5 + can add more commands, separated by space, in this
6 + variable. Prefixing the command with '-' will remove it from
7 + the existing list.