Skip to content

Commit d0ddf34

Browse files
committed
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
2 parents ca43bd2 + bc1a980 commit d0ddf34

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Documentation/rev-list-options.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,8 @@ Default mode::
412412

413413
--ancestry-path[=<commit>]::
414414
When given a range of commits to display (e.g. 'commit1..commit2'
415-
or 'commit2 {caret}commit1'), only display commits in that range
415+
or 'commit2 {caret}commit1'), and a commit <commit> in that range,
416+
only display commits in that range
416417
that are ancestors of <commit>, descendants of <commit>, or
417418
<commit> itself. If no commit is specified, use 'commit1' (the
418419
excluded part of the range) as <commit>. Can be passed multiple

0 commit comments

Comments
 (0)