Commit 6e86531
Drop --end-of-options from git reset command
The `git reset` command does not universally support the
`--end-of-options` flag across all Git versions, causing "fatal: option
'--end-of-options' must come before non-option arguments" errors (e.g.
on Git 2.39.5).
Since the revision argument is programmatically constructed (not
arbitrary user input), removing `--end-of-options` is safe and resolves
the compatibility issue.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 0300f96 commit 6e86531
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
348 | 348 | | |
349 | 349 | | |
350 | 350 | | |
351 | | - | |
| 351 | + | |
352 | 352 | | |
353 | 353 | | |
354 | 354 | | |
| |||
0 commit comments