Commit 919fa5c
fix(git-commit): use semicolons in fallback to avoid skipping probes
The && chaining between context probes meant git branch and git log
were skipped if git diff HEAD failed (e.g., first-commit repos where
HEAD is unresolved). Switch to semicolons so all probes run
independently regardless of earlier failures.
Addresses PR review feedback on #488.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 261c28f commit 919fa5c
2 files changed
Lines changed: 2 additions & 2 deletions
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
| 71 | + | |
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| |||
0 commit comments