diff options
-rw-r--r-- | bin/git-comment.pl | 2 | ||||
-rw-r--r-- | bin/man1/git-comment.1 | 8 |
2 files changed, 8 insertions, 2 deletions
diff --git a/bin/git-comment.pl b/bin/git-comment.pl index 01f7171d..9efebf83 100644 --- a/bin/git-comment.pl +++ b/bin/git-comment.pl @@ -24,7 +24,7 @@ use Git; my $repo = Git->repository(); -my ($all, $minGroup, $minRepeat, $noRepeat) = (0, 2, 20, 0); +my ($all, $minGroup, $minRepeat, $noRepeat) = (0, 2, 30, 0); my $commentStart = $repo->config('comment.start') // "/*"; my $commentLead = $repo->config('comment.lead') // " *"; my $commentEnd = $repo->config('comment.end') // " */"; diff --git a/bin/man1/git-comment.1 b/bin/man1/git-comment.1 index 9c9b4cd6..a981f839 100644 --- a/bin/man1/git-comment.1 +++ b/bin/man1/git-comment.1 @@ -71,7 +71,7 @@ The default is 2 lines. Avoid repeating a comment if it occurred in the last .Ar lines . -The default is 20 lines. +The default is 30 lines. . .It Fl \-no-repeat Avoid repeating comments entirely. @@ -86,3 +86,9 @@ git config comment.start '#' git config comment.lead '#' git config comment.end '' .Ed +. +.Pp +Add as many comments as possible: +.Bd -literal -offset indent +git comment --all --min-group 1 --min-repeat 1 +.Ed |