Commit graph

2 commits

Author SHA1 Message Date
2e0952f9fb
feat: add colored output with distinct symbols using the colored crate
Add a centralized ui module with Arc's visual identity: colored commit
IDs (magenta), bookmarks (cyan), tags (yellow), status symbols, and
diff highlighting. Update all command output and tests accordingly.
2026-02-09 03:51:59 +00:00
1433c2fed6
feat: implement phase 3 - tracking, committing, status, and diff
- Add commit command with auto-change detection (no staging area)
- Add status command showing added/modified/deleted files
- Add diff command with unified diff output
- Store commits as ZSTD-compressed MessagePack in .arc/commits/<id>.zst
- Generate commit/delta IDs via SHA-256 hashing
- Reconstruct committed state by replaying delta chains
- Add ignore pattern matching with glob support (.arcignore/.ignore)
- Always exclude .arc/ directory from worktree scanning
- Update HEAD and bookmark refs on commit
- Add NothingToCommit error variant
- Add zstd, sha2, hex dependencies
- Add 30 new tests across commit, status, diff, and tracking
2026-02-06 18:16:42 +00:00