Signed-off-by: Nguyễn Thái Ngọc Duy <pclo...@gmail.com>
---
 Documentation/config.txt        | 10 +---------
 Documentation/pretty-config.txt |  9 +++++++++
 2 files changed, 10 insertions(+), 9 deletions(-)
 create mode 100644 Documentation/pretty-config.txt

diff --git a/Documentation/config.txt b/Documentation/config.txt
index 656ae3158c..364e5fdbf1 100644
--- a/Documentation/config.txt
+++ b/Documentation/config.txt
@@ -632,15 +632,7 @@ include::pack-config.txt[]
 
 include::pager-config.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::pretty-config.txt[]
 
 protocol.allow::
        If set, provide a user defined default policy for all protocols which
diff --git a/Documentation/pretty-config.txt b/Documentation/pretty-config.txt
new file mode 100644
index 0000000000..063c6b63d9
--- /dev/null
+++ b/Documentation/pretty-config.txt
@@ -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.
-- 
2.19.1.647.g708186aaf9

Reply via email to