summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorLibravatar Nanako Shiraishi <nanako3@lavabit.com>2009-02-24 18:59:14 +0900
committerLibravatar Junio C Hamano <gitster@pobox.com>2009-02-24 23:53:36 -0800
commit3a4c1a5e212357c3df030b6713c75466694c2e77 (patch)
tree5a9ca66c17931258f0a8bdb2e94a0032b8620cee /Documentation
parentMerge git://git.bogomips.org/git-svn (diff)
downloadtgif-3a4c1a5e212357c3df030b6713c75466694c2e77.tar.xz
Add --format that is a synonym to --pretty
Some people prefer to call the pretty-print styles "format", and get annoyed to see "git log --format=short" fail. Introduce it as a synonym to --pretty so that both can be used. Signed-off-by: Nanako Shiraishi <nanako3@lavabit.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/pretty-options.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/Documentation/pretty-options.txt b/Documentation/pretty-options.txt
index 5f21efe407..65960192e8 100644
--- a/Documentation/pretty-options.txt
+++ b/Documentation/pretty-options.txt
@@ -1,4 +1,5 @@
--pretty[='<format>']::
+--format[='<format>']::
Pretty-print the contents of the commit logs in a given format,
where '<format>' can be one of 'oneline', 'short', 'medium',