config.txt: move interactive.* 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
630c273846804c077b24db1ce57e890e26b810dc
2 files changed
+17
-16
Documentation/config.txt
+1
-16
@@ -361,22 +361,7 @@ include::config/init.txt[]
361
362
include::config/instaweb.txt[]
363
364
-interactive.singleKey::
365
- In interactive commands, allow the user to provide one-letter
366
- input with a single key (i.e., without hitting enter).
367
- Currently this is used by the `--patch` mode of
368
- linkgit:git-add[1], linkgit:git-checkout[1], linkgit:git-commit[1],
369
- linkgit:git-reset[1], and linkgit:git-stash[1]. Note that this
370
- setting is silently ignored if portable keystroke input
371
- is not available; requires the Perl module Term::ReadKey.
372
-
373
-interactive.diffFilter::
374
- When an interactive command (such as `git add --patch`) shows
375
- a colorized diff, git will pipe the diff through the shell
376
- command defined by this configuration variable. The command may
377
- mark up the diff further for human consumption, provided that it
378
- retains a one-to-one correspondence with the lines in the
379
- original diff. Defaults to disabled (no filtering).
364
+include::config/interactive.txt[]
365
366
log.abbrevCommit::
367
If true, makes linkgit:git-log[1], linkgit:git-show[1], and
Documentation/config/interactive.txt
new
+16
@@ -0,0 +1,16 @@
1
+interactive.singleKey::
2
+ In interactive commands, allow the user to provide one-letter
3
+ input with a single key (i.e., without hitting enter).
4
+ Currently this is used by the `--patch` mode of
5
+ linkgit:git-add[1], linkgit:git-checkout[1], linkgit:git-commit[1],
6
+ linkgit:git-reset[1], and linkgit:git-stash[1]. Note that this
7
+ setting is silently ignored if portable keystroke input
8
+ is not available; requires the Perl module Term::ReadKey.
9
+
10
+interactive.diffFilter::
11
+ When an interactive command (such as `git add --patch`) shows
12
+ a colorized diff, git will pipe the diff through the shell
13
+ command defined by this configuration variable. The command may
14
+ mark up the diff further for human consumption, provided that it
15
+ retains a one-to-one correspondence with the lines in the
16
+ original diff. Defaults to disabled (no filtering).