Commit 71786f5
rebase: factor out reference parsing
Remove the parsing and validation of references (onto, upstream, branch)
from git-rebase--interactive.sh and rely on the information exported from
git-rebase.sh.
By using the parsing of the --onto parameter in git-rebase.sh, this
improves the error message when the parameter is invalid.
Signed-off-by: Martin von Zweigbergk <[email protected]>
Signed-off-by: Junio C Hamano <[email protected]>1 parent 8f9bfb6 commit 71786f5
2 files changed
+9
-48
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
682 | 682 | | |
683 | 683 | | |
684 | 684 | | |
685 | | - | |
686 | | - | |
687 | | - | |
688 | | - | |
689 | | - | |
690 | | - | |
691 | | - | |
692 | | - | |
693 | | - | |
694 | | - | |
695 | | - | |
696 | | - | |
697 | | - | |
698 | | - | |
699 | | - | |
700 | | - | |
701 | | - | |
702 | | - | |
703 | | - | |
704 | 685 | | |
705 | 686 | | |
706 | 687 | | |
| |||
769 | 750 | | |
770 | 751 | | |
771 | 752 | | |
772 | | - | |
773 | | - | |
774 | | - | |
775 | | - | |
776 | | - | |
777 | | - | |
778 | | - | |
779 | | - | |
780 | 753 | | |
781 | 754 | | |
782 | 755 | | |
783 | | - | |
784 | | - | |
785 | | - | |
786 | | - | |
787 | | - | |
788 | | - | |
789 | | - | |
790 | | - | |
791 | | - | |
792 | | - | |
793 | | - | |
794 | | - | |
795 | 756 | | |
796 | 757 | | |
797 | 758 | | |
798 | 759 | | |
799 | 760 | | |
800 | 761 | | |
801 | | - | |
| 762 | + | |
802 | 763 | | |
803 | | - | |
804 | | - | |
| 764 | + | |
| 765 | + | |
805 | 766 | | |
806 | 767 | | |
807 | 768 | | |
808 | 769 | | |
809 | 770 | | |
810 | 771 | | |
811 | | - | |
812 | | - | |
| 772 | + | |
813 | 773 | | |
814 | 774 | | |
815 | 775 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
431 | 431 | | |
432 | 432 | | |
433 | 433 | | |
434 | | - | |
435 | | - | |
436 | 434 | | |
437 | 435 | | |
438 | 436 | | |
| |||
443 | 441 | | |
444 | 442 | | |
445 | 443 | | |
446 | | - | |
| 444 | + | |
447 | 445 | | |
448 | 446 | | |
449 | 447 | | |
| |||
470 | 468 | | |
471 | 469 | | |
472 | 470 | | |
473 | | - | |
| 471 | + | |
| 472 | + | |
474 | 473 | | |
475 | 474 | | |
476 | 475 | | |
| |||
512 | 511 | | |
513 | 512 | | |
514 | 513 | | |
| 514 | + | |
| 515 | + | |
515 | 516 | | |
516 | 517 | | |
517 | 518 | | |
| |||
0 commit comments