config.txt: move pretty.* 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
cd967547704870efef19a0586cbd9433b9ba72e3
2 files changed
+10
-9
Documentation/config.txt
+1
-9
@@ -381,15 +381,7 @@ include::config/pack.txt[]
381
382
include::config/pager.txt[]
383
384
-pretty.<name>::
385
- Alias for a --pretty= format string, as specified in
386
- linkgit:git-log[1]. Any aliases defined here can be used just
387
- as the built-in pretty formats could. For example,
388
- running `git config pretty.changelog "format:* %H %s"`
389
- would cause the invocation `git log --pretty=changelog`
390
- to be equivalent to running `git log "--pretty=format:* %H %s"`.
391
- Note that an alias with the same name as a built-in format
392
- will be silently ignored.
384
+include::config/pretty.txt[]
385
386
protocol.allow::
387
If set, provide a user defined default policy for all protocols which
Documentation/config/pretty.txt
new
+9
@@ -0,0 +1,9 @@
1
+pretty.<name>::
2
+ Alias for a --pretty= format string, as specified in
3
+ linkgit:git-log[1]. Any aliases defined here can be used just
4
+ as the built-in pretty formats could. For example,
5
+ running `git config pretty.changelog "format:* %H %s"`
6
+ would cause the invocation `git log --pretty=changelog`
7
+ to be equivalent to running `git log "--pretty=format:* %H %s"`.
8
+ Note that an alias with the same name as a built-in format
9
+ will be silently ignored.