Repository navigation
Commit 7e51d31
fix(upstream): guard ref arguments against option injection
Same hardening as go-agent#2 review nit: '--' terminator on the fallback
fetch and --end-of-options on rev-parse so a manual --ref value starting
with '-' cannot be parsed as an option.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>1 parent a81fec6 commit 7e51d31
1 file changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
136 | | - | |
137 | | - | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
138 | 140 | | |
139 | 141 | | |
140 | 142 | | |
| |||
0 commit comments