From cf3e1e7e7d604ed8613e48116ec01de15682c6aa Mon Sep 17 00:00:00 2001 From: spacewander Date: Tue, 15 Oct 2019 10:13:32 +0800 Subject: [PATCH] git-summary: add missing example of --line option --- man/git-summary.1 | 23 ++++++++++++++++++++++- man/git-summary.html | 16 ++++++++++++++-- man/git-summary.md | 15 +++++++++++++-- 3 files changed, 49 insertions(+), 5 deletions(-) diff --git a/man/git-summary.1 b/man/git-summary.1 index 83ec205..3c1ba2d 100644 --- a/man/git-summary.1 +++ b/man/git-summary.1 @@ -1,7 +1,7 @@ .\" generated with Ronn/v0.7.3 .\" http://github.com/rtomayko/ronn/tree/0.7.3 . -.TH "GIT\-SUMMARY" "1" "July 2019" "" "Git Extras" +.TH "GIT\-SUMMARY" "1" "October 2019" "" "Git Extras" . .SH "NAME" \fBgit\-summary\fR \- Show repository summary @@ -75,6 +75,27 @@ $ git summary v42\.\. . .IP "" 0 . +.P +Outputs a repo summary by line: +. +.IP "" 4 +. +.nf + +$ git summary \-\-line + +project : git\-extras +lines : 26820 +authors : + \.\.\. +. +.fi +. +.IP "" 0 +. +.P +The commitish is ignored when \-\-line is specified\. +. .SH "AUTHOR" Written by Tj Holowaychuk <\fItj@vision\-media\.ca\fR> . diff --git a/man/git-summary.html b/man/git-summary.html index 686ac78..450115d 100644 --- a/man/git-summary.html +++ b/man/git-summary.html @@ -131,9 +131,21 @@ authors :
$ git summary v42..
 
+

Outputs a repo summary by line:

+ +
$ git summary --line
+
+project  : git-extras
+lines    : 26820
+authors  :
+  ...
+
+ +

The commitish is ignored when --line is specified.

+

AUTHOR

-

Written by Tj Holowaychuk <tj@vision-media.ca>

+

Written by Tj Holowaychuk <tj@vision-media.ca>

REPORTING BUGS

@@ -146,7 +158,7 @@ authors :
  1. -
  2. July 2019
  3. +
  4. October 2019
  5. git-summary(1)
diff --git a/man/git-summary.md b/man/git-summary.md index 9c58069..8946ef4 100644 --- a/man/git-summary.md +++ b/man/git-summary.md @@ -12,12 +12,12 @@ Shows a summary of the repository. ## OPTIONS <commitish> - + Summarize only the range of commits included in the <commitish>. --line - Summarize with lines other than commits. + Summarize with lines other than commits. Any <commitish> is ignored when --line is specified. ## EXAMPLES @@ -56,6 +56,17 @@ Shows a summary of the repository. $ git summary v42.. + Outputs a repo summary by line: + + $ git summary --line + + project : git-extras + lines : 26820 + authors : + ... + + The commitish is ignored when --line is specified. + ## AUTHOR Written by Tj Holowaychuk <>