Commit 5707ec6
committed
cmd/git(fix[Git.fetch,Git.pull]): Remove clone-only branch/origin params
why: The --branch and --origin flags only exist for git clone, not for
git fetch or git pull. Using these parameters would cause git to fail
with "unknown option 'branch'" or "unknown option 'origin'".
what:
- Remove branch and origin parameters from fetch() signature
- Remove branch and origin parameters from pull() signature
- Remove implementation code that emitted these invalid flags1 parent 9eec47c commit 5707ec6
1 file changed
Lines changed: 0 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
423 | 423 | | |
424 | 424 | | |
425 | 425 | | |
426 | | - | |
427 | | - | |
428 | 426 | | |
429 | 427 | | |
430 | 428 | | |
| |||
496 | 494 | | |
497 | 495 | | |
498 | 496 | | |
499 | | - | |
500 | | - | |
501 | | - | |
502 | | - | |
503 | 497 | | |
504 | 498 | | |
505 | 499 | | |
| |||
780 | 774 | | |
781 | 775 | | |
782 | 776 | | |
783 | | - | |
784 | | - | |
785 | 777 | | |
786 | 778 | | |
787 | 779 | | |
| |||
975 | 967 | | |
976 | 968 | | |
977 | 969 | | |
978 | | - | |
979 | | - | |
980 | | - | |
981 | | - | |
982 | 970 | | |
983 | 971 | | |
984 | 972 | | |
| |||
0 commit comments