config.txt: move pretty.* to a separate file
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Sat, 27 Oct 2018 06:23:24 +0000 (08:23 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 29 Oct 2018 01:17:03 +0000 (10:17 +0900)
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/config.txt
Documentation/config/pretty.txt [new file with mode: 0644]
index a7b72d27220aebbf0a7911097506392f3082d866..d55776c383740c8f0d30070cc9ace096ad5298e9 100644 (file)
@@ -381,15 +381,7 @@ include::config/pack.txt[]
 
 include::config/pager.txt[]
 
-pretty.<name>::
-       Alias for a --pretty= format string, as specified in
-       linkgit:git-log[1]. Any aliases defined here can be used just
-       as the built-in pretty formats could. For example,
-       running `git config pretty.changelog "format:* %H %s"`
-       would cause the invocation `git log --pretty=changelog`
-       to be equivalent to running `git log "--pretty=format:* %H %s"`.
-       Note that an alias with the same name as a built-in format
-       will be silently ignored.
+include::config/pretty.txt[]
 
 protocol.allow::
        If set, provide a user defined default policy for all protocols which
diff --git a/Documentation/config/pretty.txt b/Documentation/config/pretty.txt
new file mode 100644 (file)
index 0000000..063c6b6
--- /dev/null
@@ -0,0 +1,9 @@
+pretty.<name>::
+       Alias for a --pretty= format string, as specified in
+       linkgit:git-log[1]. Any aliases defined here can be used just
+       as the built-in pretty formats could. For example,
+       running `git config pretty.changelog "format:* %H %s"`
+       would cause the invocation `git log --pretty=changelog`
+       to be equivalent to running `git log "--pretty=format:* %H %s"`.
+       Note that an alias with the same name as a built-in format
+       will be silently ignored.