This repository was archived by the owner on Nov 15, 2024. It is now read-only.
Commit 9dbf00b
grep: use grep_or_expr() in compile_pattern_or()
Move the definition of grep_or_expr() up and use this function in
compile_pattern_or() to reduce code duplication.
Signed-off-by: René Scharfe <[email protected]>
Signed-off-by: Junio C Hamano <[email protected]>1 parent e83ba64 commit 9dbf00b
1 file changed
+11
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
595 | 595 | | |
596 | 596 | | |
597 | 597 | | |
| 598 | + | |
| 599 | + | |
| 600 | + | |
| 601 | + | |
| 602 | + | |
| 603 | + | |
| 604 | + | |
| 605 | + | |
| 606 | + | |
598 | 607 | | |
599 | 608 | | |
600 | 609 | | |
| |||
677 | 686 | | |
678 | 687 | | |
679 | 688 | | |
680 | | - | |
| 689 | + | |
681 | 690 | | |
682 | 691 | | |
683 | 692 | | |
684 | 693 | | |
685 | 694 | | |
686 | 695 | | |
687 | 696 | | |
688 | | - | |
689 | | - | |
690 | | - | |
691 | | - | |
692 | | - | |
| 697 | + | |
693 | 698 | | |
694 | 699 | | |
695 | 700 | | |
| |||
714 | 719 | | |
715 | 720 | | |
716 | 721 | | |
717 | | - | |
718 | | - | |
719 | | - | |
720 | | - | |
721 | | - | |
722 | | - | |
723 | | - | |
724 | | - | |
725 | | - | |
726 | 722 | | |
727 | 723 | | |
728 | 724 | | |
| |||
0 commit comments