Commit 02ce924
committed
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 <[email protected]>1 parent 7f278e9 commit 02ce924
1 file changed
+13
-4
lines changed| 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