An implementation of git fast-export for Pijul

main: rework loop over changes

The iteration with an indexing variable appeared to be mostly to be able to retrieve the state of the previous change.

Change to a consuming iterator and keep track of the previous change state in a mutable variable.

Created by  laumann  on October 10, 2023
5ZSJEED77SE3LHU6S6RMBNRZPDDR3TFNXOM5SI23WIHKS6LHEHAAC
Change contents