Skip to content

Fetch complete object graphs and integrate pulled branches safely - #53

Merged
aman-a-shah merged 4 commits into
mainfrom
38-week-6---m1-object-store-fixes-for-pushpull-round-trips
Oct 25, 2026
Merged

aman-a-shah merged 4 commits into
mainfrom
38-week-6---m1-object-store-fixes-for-pushpull-round-trips

Conversation

@mahis1067

@mahis1067 mahis1067 commented Oct 14, 2026 •

Copy link
Copy Markdown
Collaborator

Fetch and validate every commit, tree, and blob reachable from the advertised tip, including both merge parents and descendants of objects already stored locally. Reuse valid loose and packed objects, then integrate the tip through CommitManager.integrate_fetched_tip before reporting success.

Closes #38.

Validation covers a packed-only remote with nested, empty, binary, and Unicode data; a locally present commit with missing descendants; checkout of a newly pulled current branch; and rejection of dirty working files without ref/index changes or false success output. The full quality check is run against the merged Week 6 M2/M3 dependencies.

@aman-a-shah aman-a-shah changed the title week6-initial-commit Fetch complete object graphs and integrate pulled branches safely Oct 25, 2026
@aman-a-shah
aman-a-shah merged commit dee3efe into main Oct 25, 2026
1 check passed
@aman-a-shah
aman-a-shah deleted the 38-week-6---m1-object-store-fixes-for-pushpull-round-trips branch October 25, 2026 23:45
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.

Week 6 - M1: Object-store fixes for push/pull round-trips

2 participants