Skip to content

WorkingTree + CLI + pytest - #8

Merged
aman-a-shah merged 13 commits into
mainfrom
week1/m2-working-tree-skeleton
Sep 2, 2026
Merged

WorkingTree + CLI + pytest#8
aman-a-shah merged 13 commits into
mainfrom
week1/m2-working-tree-skeleton

Conversation

@Saanvi521

Copy link
Copy Markdown
Collaborator

Summary

  • Added IndexEntry, DiffResult
  • Added WorkingTree class with all 6 contract methods
  • Wired minigit add and minigit status
  • Added tests/test_index.py with a FakeObjectStore and 4 tests

Validation

  • scripts/quality-check.sh
  • Manual testing, if applicable:

Checklist

  • The change is focused and easy to review.
  • Tests were added or updated for behavior changes.
  • Documentation was updated for user-facing or setup changes.
  • No secrets, generated artifacts, or local-only files are included.

Notes for Reviewers

  • minigit add and minigit status will work with ObjectStore from M1, tests currently use FakeObjectStore to verify

mahis1067and others added 13 commits August 25, 2026 11:20
Co-authored-by: mahis1067 <151894644+mahis1067@users.noreply.github.com>
* feat/object-store-skeleton-cli-stub
* fix/hash-cat-file-cli-tests
* fix/test-hash-object-cli-print
* fix/hash-character-placeholder
* docs/cli-functions
* fix: remove trailing whitespace in cat-file docstring
Co-authored-by: mahis1067 <151894644+mahis1067@users.noreply.github.com>
* fix/trailing-space
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
@aman-a-shah
aman-a-shah merged commit 23e534f into mainSep 2, 2026
1 check passed
@aman-a-shah
aman-a-shah deleted the week1/m2-working-tree-skeleton branch September 2, 2026 19:10
Sign up for freeto 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.

4 participants

@Saanvi521@aman-a-shah@mahis1067