Skip to content

Commit 9a5d34c

Browse files
committed
Merge branch 'py/shortlog-list-options-for-log'
Documentation pages for "git shortlog" now lists commit limiting options explicitly. * py/shortlog-list-options-for-log: git-shortlog.txt: include commit limiting options
2 parents d3096d2 + 461caf3 commit 9a5d34c

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

Documentation/git-shortlog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,9 @@ them.
7676
Paths may need to be prefixed with `--` to separate them from
7777
options or the revision range, when confusion arises.
7878

79+
:git-shortlog: 1
80+
include::rev-list-options.txt[]
81+
7982
MAPPING AUTHORS
8083
---------------
8184

Documentation/rev-list-options.txt

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -579,6 +579,7 @@ above) if (1) they are referenced by tags, or (2) they change the
579579
contents of the paths given on the command line. All other
580580
commits are marked as TREESAME (subject to be simplified away).
581581

582+
ifndef::git-shortlog[]
582583
ifdef::git-rev-list[]
583584
Bisection Helpers
584585
~~~~~~~~~~~~~~~~~
@@ -634,8 +635,9 @@ This option can be used along with `--bisect-vars`, in this case,
634635
after all the sorted commit objects, there will be the same text as if
635636
`--bisect-vars` had been used alone.
636637
endif::git-rev-list[]
638+
endif::git-shortlog[]
637639

638-
640+
ifndef::git-shortlog[]
639641
Commit Ordering
640642
~~~~~~~~~~~~~~~
641643

@@ -677,7 +679,9 @@ together.
677679
Output the commits chosen to be shown (see Commit Limiting
678680
section above) in reverse order. Cannot be combined with
679681
`--walk-reflogs`.
682+
endif::git-shortlog[]
680683

684+
ifndef::git-shortlog[]
681685
Object Traversal
682686
~~~~~~~~~~~~~~~~
683687

@@ -817,7 +821,9 @@ endif::git-rev-list[]
817821

818822
--do-walk::
819823
Overrides a previous `--no-walk`.
824+
endif::git-shortlog[]
820825

826+
ifndef::git-shortlog[]
821827
Commit Formatting
822828
~~~~~~~~~~~~~~~~~
823829

@@ -973,7 +979,9 @@ ifdef::git-rev-list[]
973979
counts and print the count for equivalent commits separated
974980
by a tab.
975981
endif::git-rev-list[]
982+
endif::git-shortlog[]
976983

984+
ifndef::git-shortlog[]
977985
ifndef::git-rev-list[]
978986
Diff Formatting
979987
~~~~~~~~~~~~~~~
@@ -1016,3 +1024,4 @@ options may be given. See linkgit:git-diff-files[1] for more options.
10161024
-t::
10171025
Show the tree objects in the diff output. This implies `-r`.
10181026
endif::git-rev-list[]
1027+
endif::git-shortlog[]

0 commit comments

Comments
 (0)