aboutsummaryrefslogtreecommitdiff
path: root/Documentation/rev-list-options.adoc
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2026-02-25 11:54:17 -0800
committerJunio C Hamano <gitster@pobox.com>2026-02-25 11:54:17 -0800
commit8d15dd1ce10f8d066ed058917f3183ec3efd7f95 (patch)
treecef824aa822c183db52f94873c382a169eb97975 /Documentation/rev-list-options.adoc
parent6b5ad01886b9492d8662509604277fc88e705dcb (diff)
parentb4e8f60a3c78477e1f28b052cd740ac4a43741d5 (diff)
downloadgit-8d15dd1ce10f8d066ed058917f3183ec3efd7f95.tar.xz
Merge branch 'ds/revision-maximal-only'
"git rev-list" and friends learn "--maximal-only" to show only the commits that are not reachable by other commits. * ds/revision-maximal-only: revision: add --maximal-only option
Diffstat (limited to 'Documentation/rev-list-options.adoc')
-rw-r--r--Documentation/rev-list-options.adoc4
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/rev-list-options.adoc b/Documentation/rev-list-options.adoc
index c4d7a6b989..2d195a1474 100644
--- a/Documentation/rev-list-options.adoc
+++ b/Documentation/rev-list-options.adoc
@@ -148,6 +148,10 @@ endif::git-log[]
from the point where it diverged from the remote branch, given
that arbitrary merges can be valid topic branch changes.
+`--maximal-only`::
+ Restrict the output commits to be those that are not reachable
+ from any other commits in the revision range.
+
`--not`::
Reverses the meaning of the '{caret}' prefix (or lack thereof)
for all following revision specifiers, up to the next `--not`.