Commit 2b02069
bisect: remove too much function nesting
This patch moves some function calls into "bisect_next_exit" so
that functions are nesting less.
The call to "bisect_rev_setup" is moved from "bisect_common" into
"bisect_next_exit" and the call to "read_bisect_refs" from
"bisect_rev_setup" into "bisect_next_exit".
While at it, "rev_argv" is moved into "bisect_rev_setup".
This will make it easier and cleaner to implement checking merge
bases.
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>1 parent 1c953a1 commit 2b02069
1 file changed
Lines changed: 8 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | | - | |
31 | 29 | | |
32 | 30 | | |
33 | 31 | | |
| |||
539 | 537 | | |
540 | 538 | | |
541 | 539 | | |
| 540 | + | |
542 | 541 | | |
543 | 542 | | |
544 | 543 | | |
545 | 544 | | |
546 | 545 | | |
547 | 546 | | |
548 | | - | |
549 | | - | |
550 | | - | |
551 | 547 | | |
552 | 548 | | |
553 | 549 | | |
| |||
561 | 557 | | |
562 | 558 | | |
563 | 559 | | |
564 | | - | |
565 | | - | |
| 560 | + | |
566 | 561 | | |
567 | | - | |
568 | | - | |
569 | 562 | | |
570 | 563 | | |
571 | 564 | | |
| |||
636 | 629 | | |
637 | 630 | | |
638 | 631 | | |
639 | | - | |
| 632 | + | |
| 633 | + | |
| 634 | + | |
| 635 | + | |
| 636 | + | |
| 637 | + | |
640 | 638 | | |
641 | 639 | | |
642 | 640 | | |
| |||
0 commit comments