Commit 2b448fe
Fix proposal naming validation to only check new files (#2788)
The --diff-filter option was missing the equals sign, which could cause
git to misinterpret 'A' as a path argument instead of the filter value.
This resulted in the validation failing even when only updating existing
proposal files.
Changes:
- Fix --diff-filter syntax from '--diff-filter A' to '--diff-filter=A'
- Add '|| true' to grep to handle cases with no matching files
- Update comments to clarify the intent
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: Claude <noreply@anthropic.com>1 parent b97646b commit 2b448fe
1 file changed
+5
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
41 | | - | |
| 40 | + | |
| 41 | + | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
| 44 | + | |
44 | 45 | | |
45 | | - | |
| 46 | + | |
46 | 47 | | |
47 | 48 | | |
48 | 49 | | |
| |||
0 commit comments