Commit e45f18c
committed
cmd/git(fix[branch.run]): Remove broken command parameter
why: GitBranchCommandLiteral defined values like "delete", "move" that would
produce invalid git invocations. These should be flags (-d, -m) not subcommands.
The parameter was unused - dedicated methods (delete, rename, copy) already
implement correct flag handling.
what:
- Remove GitBranchCommandLiteral type
- Remove command parameter from GitBranchCmd.run() and GitBranchManager.run()1 parent 4b8a0f7 commit e45f18c
1 file changed
+2
-23
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5257 | 5257 | | |
5258 | 5258 | | |
5259 | 5259 | | |
5260 | | - | |
5261 | | - | |
5262 | | - | |
5263 | | - | |
5264 | | - | |
5265 | | - | |
5266 | | - | |
5267 | | - | |
5268 | | - | |
5269 | | - | |
5270 | | - | |
5271 | | - | |
5272 | | - | |
5273 | | - | |
5274 | | - | |
5275 | 5260 | | |
5276 | 5261 | | |
5277 | 5262 | | |
| |||
5330 | 5315 | | |
5331 | 5316 | | |
5332 | 5317 | | |
5333 | | - | |
5334 | 5318 | | |
5335 | 5319 | | |
5336 | 5320 | | |
5337 | | - | |
| 5321 | + | |
5338 | 5322 | | |
5339 | 5323 | | |
5340 | 5324 | | |
| |||
5353 | 5337 | | |
5354 | 5338 | | |
5355 | 5339 | | |
5356 | | - | |
5357 | | - | |
5358 | 5340 | | |
5359 | 5341 | | |
5360 | 5342 | | |
| |||
5642 | 5624 | | |
5643 | 5625 | | |
5644 | 5626 | | |
5645 | | - | |
5646 | 5627 | | |
5647 | 5628 | | |
5648 | 5629 | | |
5649 | | - | |
| 5630 | + | |
5650 | 5631 | | |
5651 | 5632 | | |
5652 | 5633 | | |
| |||
5662 | 5643 | | |
5663 | 5644 | | |
5664 | 5645 | | |
5665 | | - | |
5666 | | - | |
5667 | 5646 | | |
5668 | 5647 | | |
5669 | 5648 | | |
| |||
0 commit comments