What did you do before the bug happened? (Steps to reproduce your issue) Create a toy repo with commits in the following structure: A - B - C \ D Run `git rev-list --ancestry-path=D A..C`. What did you expect to happen? (Expected behavior) Commits A and B should be listed. What happened instead? (Actual behavior) No commits listed. What's different between what you expected and what actually happened? --ancestry-path with a commit arg seems to return 0 results unless the specified commit is itself part of the range. The rev-list documentation does not mention that this is a requirement. [System Info] git version: git version 2.47.0.338.g60cca15819-goog cpu: x86_64 no commit associated with this build sizeof-long: 8 sizeof-size_t: 8 shell-path: /bin/sh libcurl: 8.8.0 OpenSSL: OpenSSL 3.3.2 3 Sep 2024 zlib: 1.3 compiler info: gnuc: 13.2 libc info: glibc: 2.38 $SHELL (typically, interactive shell): /bin/bash [Enabled Hooks] commit-msg pre-commit prepare-commit-msg