Code cleanups, move the code to create a commit with fast-import into a separate function out of the main loop.
drwxr-xr-x - contrib