diff options
author | Nazri Ramliy <ayiehere@gmail.com> | 2010-06-02 01:54:46 +0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-06-02 10:03:53 -0700 |
commit | 41e4d69fb82cd92bbc39accc9cb2be49b7597b5c (patch) | |
tree | 1fe933bb37189e7c7449bbeb00b21caf044198ff /Documentation/pretty-formats.txt | |
parent | 6774e2bf0822cd4358620d3e806f9b3df8bd777e (diff) | |
download | git-41e4d69fb82cd92bbc39accc9cb2be49b7597b5c.tar.gz |
Documentation/pretty-{formats,options}: better reference for "format:<string>"
In "git help log" (and friends) it's not easy to find the possible
placeholder for <string> for the "--pretty=format:<string>" option
to git log.
This patch makes the placeholder easier to find by adding a reference
to the "PRETTY FORMATS" section and repeating the "format:<string>"
phrase.
Signed-off-by: Nazri Ramliy <ayiehere@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/pretty-formats.txt')
-rw-r--r-- | Documentation/pretty-formats.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/pretty-formats.txt b/Documentation/pretty-formats.txt index 1686a54d22..c85a52c0cc 100644 --- a/Documentation/pretty-formats.txt +++ b/Documentation/pretty-formats.txt @@ -76,9 +76,9 @@ displayed in full, regardless of whether --abbrev or true parent commits, without taking grafts nor history simplification into account. -* 'format:' +* 'format:<string>' + -The 'format:' format allows you to specify which information +The 'format:<string>' 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'. |