diff mbox series

[16/59] config.txt: move completion.* to a separate file

Message ID 20181020123848.2785-17-pclouds@gmail.com
State New, archived
Headers show
Series Split config.txt | expand

Commit Message

Duy Nguyen Oct. 20, 2018, 12:38 p.m. UTC
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
---
 Documentation/completion-config.txt | 7 +++++++
 Documentation/config.txt            | 8 +-------
 2 files changed, 8 insertions(+), 7 deletions(-)
 create mode 100644 Documentation/completion-config.txt
diff mbox series

Patch

diff --git a/Documentation/completion-config.txt b/Documentation/completion-config.txt
new file mode 100644
index 0000000000..4d99bf33c9
--- /dev/null
+++ b/Documentation/completion-config.txt
@@ -0,0 +1,7 @@ 
+completion.commands::
+	This is only used by git-completion.bash to add or remove
+	commands from the list of completed commands. Normally only
+	porcelain commands and a few select others are completed. You
+	can add more commands, separated by space, in this
+	variable. Prefixing the command with '-' will remove it from
+	the existing list.
diff --git a/Documentation/config.txt b/Documentation/config.txt
index 36a8d120be..d1509dd25e 100644
--- a/Documentation/config.txt
+++ b/Documentation/config.txt
@@ -317,13 +317,7 @@  include::commit-config.txt[]
 
 include::credential-config.txt[]
 
-completion.commands::
-	This is only used by git-completion.bash to add or remove
-	commands from the list of completed commands. Normally only
-	porcelain commands and a few select others are completed. You
-	can add more commands, separated by space, in this
-	variable. Prefixing the command with '-' will remove it from
-	the existing list.
+include::completion-config.txt[]
 
 include::diff-config.txt[]