Skip to content

import: always save the map after an import

Pulls aren't done in a transaction, so you can safely interrupt them, and get a partial result. Unfortunately, the commit map isn't updated, so once you resume the pull, it'll begin at the start at same commit as last, rather than where interrupted.

With this tiny change, I can interrupt and resume long-running pulls at leisure.

There's no test, since writing the required infrastructure seems a bit overkill.

Merge request reports