From: Kai Koponen Date: Tue, 3 Dec 2024 17:14:34 +0000 (-0500) Subject: doc: mention rev-list --ancestry-path restrictions X-Git-Tag: v2.48.0-rc0~9^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=bc1a980759bc61a426c26d3b47e2d77a708a038b;p=thirdparty%2Fgit.git doc: mention rev-list --ancestry-path restrictions The rev-list documentation doesn't mention that the given commit must be in the specified commit range, leading to unexpected results. Signed-off-by: Kai Koponen Signed-off-by: Junio C Hamano --- diff --git a/Documentation/rev-list-options.txt b/Documentation/rev-list-options.txt index 0d90d5b154..9d5243e0aa 100644 --- a/Documentation/rev-list-options.txt +++ b/Documentation/rev-list-options.txt @@ -401,7 +401,8 @@ Default mode:: --ancestry-path[=]:: 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 in that range, + only display commits in that range that are ancestors of , descendants of , or itself. If no commit is specified, use 'commit1' (the excluded part of the range) as . Can be passed multiple