diff options
author | Jonathan Nieder <jrnieder@gmail.com> | 2010-05-03 21:59:55 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-05-04 15:30:59 -0700 |
commit | 600372497c668045a365b9eab76987ee19405f7a (patch) | |
tree | 72d801386920eca2a7e145597eb5d395d2219f18 /Documentation/git-shortlog.txt | |
parent | ed715b5e393f922b7726460c348c8cb7eb7de49b (diff) | |
download | git-600372497c668045a365b9eab76987ee19405f7a.tar.gz |
shortlog: Document and test --format option
Do not document the --pretty synonym, since it takes too long to
explain the name to people.
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-shortlog.txt')
-rw-r--r-- | Documentation/git-shortlog.txt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Documentation/git-shortlog.txt b/Documentation/git-shortlog.txt index f11ea90237..bc1ac77495 100644 --- a/Documentation/git-shortlog.txt +++ b/Documentation/git-shortlog.txt @@ -44,6 +44,14 @@ OPTIONS --email:: Show the email address of each author. +--format[='<format>']:: + Instead of the commit subject, use some other information to + describe each commit. '<format>' can be any string accepted + by the `--format` option of 'git log', such as '{asterisk} [%h] %s'. + (See the "PRETTY FORMATS" section of linkgit:git-log[1].) + + Each pretty-printed commit will be rewrapped before it is shown. + -w[<width>[,<indent1>[,<indent2>]]]:: Linewrap the output by wrapping each line at `width`. The first line of each entry is indented by `indent1` spaces, and the second |