Repository navigation
Commit 013f091
committed
fix(hooks): one parse for a quoted git option value
A quoted git option value with no spaces matched both the quote branch and the bare branch, so each repeated -C, -c, --git-dir or --work-tree doubled the work on a command that was not git. The value's first character now picks its one alternative, as for an env assignment.1 parent 64ddd9a commit 013f091
2 files changed
Lines changed: 11 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
276 | 276 | | |
277 | 277 | | |
278 | 278 | | |
279 | | - | |
280 | | - | |
| 279 | + | |
| 280 | + | |
281 | 281 | | |
282 | 282 | | |
283 | 283 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4632 | 4632 | | |
4633 | 4633 | | |
4634 | 4634 | | |
| 4635 | + | |
| 4636 | + | |
| 4637 | + | |
| 4638 | + | |
| 4639 | + | |
| 4640 | + | |
4635 | 4641 | | |
4636 | 4642 | | |
4637 | 4643 | | |
| 4644 | + | |
| 4645 | + | |
| 4646 | + | |
4638 | 4647 | | |
4639 | 4648 | | |
4640 | 4649 | | |
| |||
0 commit comments