Skip to content

UPSTREAM PR #2492: Refactor tree::peel_to_entry to make the intent more obvious#36

Open
loci-dev wants to merge 2 commits intomainfrom
loci/pr-2492-peel_to_entry
Open

UPSTREAM PR #2492: Refactor tree::peel_to_entry to make the intent more obvious#36
loci-dev wants to merge 2 commits intomainfrom
loci/pr-2492-peel_to_entry

Conversation

@loci-dev
Copy link
Copy Markdown

Note

Source pull request: GitoxideLabs/gitoxide#2492

To me the intent is clearer this way, and I don't think we do any more or less work than before. Even though self is a Tree, the find() calls can invalidate this already so tracking the data ID instead of the last tree ID felt odd.

The first commit is separate just to fix what I asked about in my comment in #2489. The MSRV check passes, so I think it's fine :D

@loci-dev loci-dev force-pushed the main branch 5 times, most recently from 8b02847 to 1bf0519 Compare April 2, 2026 07:54
@loci-dev loci-dev force-pushed the main branch 3 times, most recently from cdbe120 to 78a7ab5 Compare April 11, 2026 07:49
@loci-dev loci-dev force-pushed the main branch 4 times, most recently from 9c2e45d to 5124e99 Compare April 17, 2026 07:07
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