X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=Documentation%2Fpretty-formats.txt;h=8c68ce94f990b0c7f3bc909cc3dc0c4e2a37cf3b;hb=04d30ce622517faa0c6bc34ac5626586b447e350;hp=bd760d3bd107d2f1101efbc75693e3ac5e81139b;hpb=af655431f53c20e3d0ed236544397c69974267f4;p=git.git diff --git a/Documentation/pretty-formats.txt b/Documentation/pretty-formats.txt index bd760d3bd..8c68ce94f 100644 --- a/Documentation/pretty-formats.txt +++ b/Documentation/pretty-formats.txt @@ -11,7 +11,12 @@ have limited your view of history: for example, if you are only interested in changes related to a certain directory or file. -Here are some additional details for each format: +There are several built-in formats, and you can define +additional formats by setting a pretty. +config option to either another format name, or a +'format:' string, as described below (see +linkgit:git-config[1]). Here are the details of the +built-in formats: * 'oneline' @@ -76,9 +81,9 @@ displayed in full, regardless of whether --abbrev or true parent commits, without taking grafts nor history simplification into account. -* 'format:' +* 'format:' + -The 'format:' format allows you to specify which information +The 'format:' format allows you to specify which information you want to show. It works a little bit like printf format, with the notable exception that you get a newline with '%n' instead of '\n'.