From 76a3c1f28debab2df8f0d2c2dd895356cc7deb30 Mon Sep 17 00:00:00 2001 From: Katrin Leinweber Date: Sun, 30 Jan 2022 11:45:03 +0100 Subject: [PATCH] Highlight path option more --- Commands.md | 4 +++- man/git-summary.1 | 2 +- man/git-summary.html | 2 +- man/git-summary.md | 2 +- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/Commands.md b/Commands.md index 4282e1009..269dde6f3 100644 --- a/Commands.md +++ b/Commands.md @@ -145,7 +145,7 @@ visionmedia (18): ## git summary -Outputs a repo summary: +Outputs a repo or path summary: ```bash $ git summary @@ -216,6 +216,8 @@ project : git-extras 1 Daniel Schildt 0.0% ``` +The `--line` option can also take a path, which will print a filtered summary for that folder or file. + ## git effort Displays "effort" statistics, currently just the number of commits per file, showing highlighting where the most activity is. The "active days" column is the total number of days which contributed modifications to this file. diff --git a/man/git-summary.1 b/man/git-summary.1 index 7e6865c6a..4820f8cb2 100644 --- a/man/git-summary.1 +++ b/man/git-summary.1 @@ -8,7 +8,7 @@ .br \fBgit\-summary\fR \-\-line [] .SH "DESCRIPTION" -Shows a summary of the repository\. +Shows a summary of the repository or a path within it\. .SH "OPTIONS" .P diff --git a/man/git-summary.html b/man/git-summary.html index fcb088241..39e180273 100644 --- a/man/git-summary.html +++ b/man/git-summary.html @@ -82,7 +82,7 @@

SYNOPSIS

DESCRIPTION

-

Shows a summary of the repository.

+

Shows a summary of the repository or a path within it.

OPTIONS

diff --git a/man/git-summary.md b/man/git-summary.md index c41a31dfd..500d1815f 100644 --- a/man/git-summary.md +++ b/man/git-summary.md @@ -8,7 +8,7 @@ git-summary(1) -- Show repository summary ## DESCRIPTION -Shows a summary of the repository. +Shows a summary of the repository or a path within it. ## OPTIONS