aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2024-12-13 07:33:46 -0800
committerJunio C Hamano <gitster@pobox.com>2024-12-13 07:33:46 -0800
commitd0ddf344da3cabcca632950c068af4da3e3294f8 (patch)
tree8f4dacb1a654a2403fb79b32c02a6f75957bdd66
parentca43bd2562fb85b34c846c1bbc2175e1ef145bf1 (diff)
parentbc1a980759bc61a426c26d3b47e2d77a708a038b (diff)
downloadgit-d0ddf344da3cabcca632950c068af4da3e3294f8.tar.gz
Merge branch 'kk/doc-ancestry-path'
The --ancestry-path option is designed to be given a commit that is on the path, which was not documented, which has been corrected. * kk/doc-ancestry-path: doc: mention rev-list --ancestry-path restrictions
-rw-r--r--Documentation/rev-list-options.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/Documentation/rev-list-options.txt b/Documentation/rev-list-options.txt
index 00ccf68744..459e5a02f5 100644
--- a/Documentation/rev-list-options.txt
+++ b/Documentation/rev-list-options.txt
@@ -412,7 +412,8 @@ Default mode::
--ancestry-path[=<commit>]::
When given a range of commits to display (e.g. 'commit1..commit2'
- or 'commit2 {caret}commit1'), only display commits in that range
+ or 'commit2 {caret}commit1'), and a commit <commit> in that range,
+ only display commits in that range
that are ancestors of <commit>, descendants of <commit>, or
<commit> itself. If no commit is specified, use 'commit1' (the
excluded part of the range) as <commit>. Can be passed multiple