Commit a395f86
fix: only retry ref updates on fast-forward conflicts
Avoid retrying unrelated 422 errors during push_files and delete_file
ref updates. Match hyphenated fast-forward messages from the GitHub API.
Co-authored-by: Cursor <cursoragent@cursor.com>1 parent c15cbe9 commit a395f86
2 files changed
Lines changed: 13 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
407 | 407 | | |
408 | 408 | | |
409 | 409 | | |
410 | | - | |
411 | | - | |
412 | | - | |
413 | | - | |
414 | 410 | | |
415 | | - | |
416 | | - | |
417 | | - | |
418 | 411 | | |
419 | | - | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
420 | 415 | | |
421 | 416 | | |
422 | 417 | | |
423 | | - | |
| 418 | + | |
424 | 419 | | |
425 | 420 | | |
426 | 421 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
85 | 94 | | |
86 | 95 | | |
87 | 96 | | |
| |||
0 commit comments