SIGN IN SIGN UP

fix(analysis): harden --commit option edge cases and add tests

- Fix resolveOutputFile to preserve empty string (stdout mode)
- Inline tryRevParse into resolveCommitHash preserving exception cause
- Normalize blank --commit values as null to avoid silent failures
- Preserve original input subdirectory scope in worktree mode
- Add CommitAnalysisContext and CommonAnalyserParameters unit tests
- Document --commit/--local-changes mutual exclusivity in parser docs

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
C
Christian Hühn committed
31db241e97836b5635c0120779d4dd74cea0bfad
Parent: e005d47
Committed by Christian Hühn <161825497+ChristianHuehn@users.noreply.github.com> on 3/16/2026, 10:10:11 AM