aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/git-shortlog.txt
diff options
context:
space:
mode:
authorPratyush Yadav <me@yadavpratyush.com>2019-11-09 00:56:27 +0530
committerJunio C Hamano <gitster@pobox.com>2019-11-10 15:13:23 +0900
commit461caf3e8a6187f4d6de2cf6838dcd56a1b0ebf7 (patch)
treec76ea693e9321f5e3fe345a1164fb06a7a304a6e /Documentation/git-shortlog.txt
parent5fa0f5238b0cd46cfe7f6fa76c3f526ea98148d9 (diff)
downloadgit-461caf3e8a6187f4d6de2cf6838dcd56a1b0ebf7.tar.gz
git-shortlog.txt: include commit limiting options
git-shortlog, like git-log, supports options to filter what commits are used to generate the log. These options come from git-rev-list, and are documented in Documentation/rev-list-options.txt. Include those options in shortlog's documentation. But since rev-list-options.txt contains some other options that don't really apply in the context of shortlog (like diff formatting, commit ordering, etc), add a switch in rev-list-options.txt that excludes those sections from the shortlog documentation. To be more specific, include only the "Commit Limiting" and "History Simplification" sections. Signed-off-by: Pratyush Yadav <me@yadavpratyush.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-shortlog.txt')
-rw-r--r--Documentation/git-shortlog.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/git-shortlog.txt b/Documentation/git-shortlog.txt
index bc80905a8a..a72ea7f7ba 100644
--- a/Documentation/git-shortlog.txt
+++ b/Documentation/git-shortlog.txt
@@ -76,6 +76,9 @@ them.
Paths may need to be prefixed with `--` to separate them from
options or the revision range, when confusion arises.
+:git-shortlog: 1
+include::rev-list-options.txt[]
+
MAPPING AUTHORS
---------------