summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a179a30)
raw | patch | inline | side by side (parent: a179a30)
author | Junio C Hamano <gitster@pobox.com> | |
Sat, 12 Apr 2008 22:38:20 +0000 (15:38 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sat, 12 Apr 2008 22:38:20 +0000 (15:38 -0700) |
Noticed by Fredrik Noring.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-shortlog.txt | patch | blob | history | |
builtin-shortlog.c | patch | blob | history |
index c7752575d8f5f35657cb9ef5a7e9e18b82ddc8b8..d7cb4c0468e713543042d41ff57a638a7fda2881 100644 (file)
SYNOPSIS
--------
[verse]
-git-log --pretty=short | 'git-shortlog' [-h] [-n] [-s] [-e]
-git-shortlog [-n|--numbered] [-s|--summary] [-e|--email] [<committish>...]
+git-log --pretty=short | 'git-shortlog' [-h] [-n] [-s] [-e] [-w]
+git-shortlog [-n|--numbered] [-s|--summary] [-e|--email] [-w[<width>[,<indent1>[,<indent2>]]]] [<committish>...]
DESCRIPTION
-----------
-e, \--email::
Show the email address of each author.
+-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
+ and subsequent lines are indented by `indent2` spaces. `width`,
+ `indent1`, and `indent2` default to 76, 6 and 9 respectively.
+
FILES
-----
diff --git a/builtin-shortlog.c b/builtin-shortlog.c
index f08095bc91b92ad93560459d060259bd5df52c4a..01cfd7b47c120133eafaf0701bc721fbf50fddc5 100644 (file)
--- a/builtin-shortlog.c
+++ b/builtin-shortlog.c
#include "mailmap.h"
static const char shortlog_usage[] =
-"git-shortlog [-n] [-s] [-e] [<commit-id>... ]";
+"git-shortlog [-n] [-s] [-e] [-w] [<commit-id>... ]";
static char *common_repo_prefix;
static int email;