Commit aac6e2e
Fix
- Fix comment body being posted as temp file path instead of content
- Use `--input <file>` with `-f body=@-` to read from stdin properly
- Fix crash when `new*.md` has local modifications
- Use `git rm -f` to force removal even with uncommitted changes
- This allows iterating on draft comments without committing
Fixes issue where `gh api -f 'body=@{temp_file}'` was being interpreted literally as the string "@/var/folders/..." instead of reading the file contents.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>push command issues with draft comments1 parent fa56ea2 commit aac6e2e
1 file changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1167 | 1167 | | |
1168 | 1168 | | |
1169 | 1169 | | |
1170 | | - | |
| 1170 | + | |
| 1171 | + | |
1171 | 1172 | | |
1172 | 1173 | | |
1173 | 1174 | | |
| |||
1276 | 1277 | | |
1277 | 1278 | | |
1278 | 1279 | | |
1279 | | - | |
| 1280 | + | |
| 1281 | + | |
1280 | 1282 | | |
1281 | 1283 | | |
1282 | 1284 | | |
| |||
0 commit comments