Skip to content

revwalk: Fix root commits being dropped if expact path is set - #7291

Merged
ethomson merged 1 commit into
libgit2:mainfrom
AHSauge:fix/revwalk-path-root
Jul 18, 2026
Merged

revwalk: Fix root commits being dropped if expact path is set#7291
ethomson merged 1 commit into
libgit2:mainfrom
AHSauge:fix/revwalk-path-root

Conversation

@AHSauge

@AHSauge AHSauge commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

There's a minor oversight on my end in #7281 where the root commit is dropped. I've added some test cases to combat this and similar problems, but I have to admit, more test cases could probably be added.

@AHSauge
AHSauge force-pushed the fix/revwalk-path-root branch from dbd5d07 to ae6dffe Compare June 13, 2026 08:32
Test cases are added to help catch future related issues
@AHSauge
AHSauge force-pushed the fix/revwalk-path-root branch from ae6dffe to af11609 Compare June 13, 2026 08:40
@ethomson
ethomson merged commit 9e1c61e into libgit2:main Jul 18, 2026
22 checks passed
@ethomson

Copy link
Copy Markdown
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants