docs(code-review): add generic error handling for git commands

This commit is contained in:
Alex Verkhovsky 2026-01-05 07:26:50 -08:00
parent 2785d382d5
commit 58e0b6a634
1 changed files with 2 additions and 0 deletions

View File

@ -74,6 +74,8 @@ git diff -M --name-only
git diff -M --cached --name-only
```
If any git command fails: Report the error to user and set `git_changed_files` = NO_GIT.
Compile `git_changed_files` = union of modified, staged, new, deleted, and renamed files.
### 5. Cross-Reference Story vs Git