Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork939
Commit4a771ad
committed
fix(remote): assert fetch respec is set
It turns out we can't deal do fetches if no refspec is set as gitwill change the format of the fetch return values, providing lessinformation than usual.A test was added to show that such a case will fail, and an assertionwill assure we don't attempt to fetch/pull if there is no refspecfor 'fetch'.Closes#2961 parent982eefb commit4a771ad
2 files changed
+19
-0
lines changedLines changed: 14 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
604 | 604 |
| |
605 | 605 |
| |
606 | 606 |
| |
| 607 | + | |
| 608 | + | |
| 609 | + | |
| 610 | + | |
| 611 | + | |
| 612 | + | |
| 613 | + | |
| 614 | + | |
| 615 | + | |
| 616 | + | |
| 617 | + | |
| 618 | + | |
607 | 619 |
| |
608 | 620 |
| |
609 | 621 |
| |
| |||
631 | 643 |
| |
632 | 644 |
| |
633 | 645 |
| |
| 646 | + | |
634 | 647 |
| |
635 | 648 |
| |
636 | 649 |
| |
| |||
651 | 664 |
| |
652 | 665 |
| |
653 | 666 |
| |
| 667 | + | |
654 | 668 |
| |
655 | 669 |
| |
656 | 670 |
| |
|
Lines changed: 5 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
494 | 494 |
| |
495 | 495 |
| |
496 | 496 |
| |
| 497 | + | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
497 | 502 |
| |
498 | 503 |
| |
499 | 504 |
| |
|
0 commit comments
Comments
(0)