diff options
| author | Junio C Hamano <gitster@pobox.com> | 2026-02-25 11:54:17 -0800 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2026-02-25 11:54:17 -0800 |
| commit | 8d15dd1ce10f8d066ed058917f3183ec3efd7f95 (patch) | |
| tree | cef824aa822c183db52f94873c382a169eb97975 /Documentation | |
| parent | 6b5ad01886b9492d8662509604277fc88e705dcb (diff) | |
| parent | b4e8f60a3c78477e1f28b052cd740ac4a43741d5 (diff) | |
| download | git-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')
| -rw-r--r-- | Documentation/rev-list-options.adoc | 4 |
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`. |
