Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

git-summary: add missing example of --line option #788

Merged
merged 1 commit into from
Oct 15, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 22 additions & 1 deletion man/git-summary.1
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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>
.
Expand Down
16 changes: 14 additions & 2 deletions man/git-summary.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 13 additions & 2 deletions man/git-summary.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ Shows a summary of the repository.
## OPTIONS

&lt;commitish&gt;

Summarize only the range of commits included in the &lt;commitish&gt;.

--line

Summarize with lines other than commits.
Summarize with lines other than commits.
Any &lt;commitish&gt; is ignored when --line is specified.

## EXAMPLES
Expand Down Expand Up @@ -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 &lt;<[email protected]>&gt;
Expand Down