A local macOS SwiftUI app for comparing two Git branches with a calmer review UI.
Author: ryanwang. See AUTHORS.md.
cd /Users/ryanwang/personal-workspace/DiffDiff
swift run DiffDiffFor the Mac app target, open DiffDiff.xcodeproj with Xcode and run the DiffDiff scheme.
swift build
swift run DiffDiff --smoke-testswift test is not wired yet because this Command Line Tools installation does not provide XCTest or Testing. The app includes a hidden smoke-test entrypoint for core parser verification.
- Open a local Git repository.
- Read local and remote branches.
- Compare with review mode (
base...compare) or direct mode (base..compare). - Toggle whitespace ignoring.
- Search and path-filter changed files.
- Show changed-file counts, additions, and deletions.
- Render unified or split diff views.
- Skip binary files and protect the UI from very large patches.
The repository includes a macOS app target, sandbox entitlements, app metadata, privacy manifest, and icon assets for App Store preparation. See docs/AppStore.md.