Commit 388517c
fast-import: refactor finalize_commit_buffer()
In a following commit we are going to finalize commit buffers with or
without signatures in order to check the signatures and possibly drop
them.
To do so easily and without duplication, let's refactor the current
code that finalizes commit buffers into a new finalize_commit_buffer()
function.
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>1 parent 4cf919b commit 388517c
1 file changed
Lines changed: 13 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2815 | 2815 | | |
2816 | 2816 | | |
2817 | 2817 | | |
| 2818 | + | |
| 2819 | + | |
| 2820 | + | |
| 2821 | + | |
| 2822 | + | |
| 2823 | + | |
| 2824 | + | |
| 2825 | + | |
| 2826 | + | |
| 2827 | + | |
| 2828 | + | |
| 2829 | + | |
2818 | 2830 | | |
2819 | 2831 | | |
2820 | 2832 | | |
| |||
2950 | 2962 | | |
2951 | 2963 | | |
2952 | 2964 | | |
2953 | | - | |
2954 | | - | |
| 2965 | + | |
2955 | 2966 | | |
2956 | | - | |
2957 | | - | |
2958 | 2967 | | |
2959 | 2968 | | |
2960 | 2969 | | |
| |||
0 commit comments