◐ Shell
clean mode source ↗

Improve pure Python rev-parse coverage and behavior by Copilot · Pull Request #2136 · gitpython-developers/GitPython

@Byron Byron linked an issue

Apr 28, 2026

that may be closed by this pull request

Port object-resolving revspec cases inspired by gix-revision into deterministic GitPython tests, without shelling out to Git or Gix at runtime. Refactor rev_parse handling around anchors, navigation, peeling, reflog selectors, path/index lookups, describe-style names, and commit-message searches.

Document observed Git/Gix behavior differences and the GitPython choices made for user-facing compatibility.

Co-authored-by: Sebastian Thiel <sebastian.thiel@icloud.com>

@Byron Byron marked this pull request as ready for review

April 28, 2026 22:45

Copilot AI review requested due to automatic review settings

April 28, 2026 22:45

@Byron Byron changed the title Fix Repo.commit for tags starting with @ Improve pure Python rev-parse coverage and behavior

Apr 28, 2026

@codex @Byron

Copilot AI review requested due to automatic review settings

April 28, 2026 23:11

@codex @Byron