diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2018-10-27 08:23:24 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-10-29 10:17:03 +0900 |
commit | cd967547704870efef19a0586cbd9433b9ba72e3 (patch) | |
tree | 4a48c18d690a81229df30eeeed317916a5408e39 /Documentation | |
parent | config.txt: move pager.* to a separate file (diff) | |
download | tgif-cd967547704870efef19a0586cbd9433b9ba72e3.tar.xz |
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>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/config.txt | 10 | ||||
-rw-r--r-- | Documentation/config/pretty.txt | 9 |
2 files changed, 10 insertions, 9 deletions
diff --git a/Documentation/config.txt b/Documentation/config.txt index a7b72d2722..d55776c383 100644 --- a/Documentation/config.txt +++ b/Documentation/config.txt @@ -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 index 0000000000..063c6b63d9 --- /dev/null +++ b/Documentation/config/pretty.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. |