Skip to content

Conversation

cruessler
Copy link
Contributor

This PR adds a test for when a file can be traced to two different root commits in two different branches. This is to make sure the algorithm does not terminate when it gets to the first TreeDiffChange::Addition.

@Byron Byron force-pushed the add-test-for-file-added-in-two-different-branches branch from cb8d28b to 92751b7 Compare June 28, 2025 05:45
Copy link
Member

@Byron Byron left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot!

I really love how Git can be asked to create a baseline, which is then turned into a comparable format by Baseline::collect() so it can be asserted against the actual output.

@Byron Byron enabled auto-merge June 28, 2025 05:49
@Byron Byron merged commit 8007f1d into GitoxideLabs:main Jun 28, 2025
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants