'Create a trivial commit with the specified file commands.
:param file_cmds: File commands to run.
:return: The created commit object'

def make_file_commit(self, file_cmds):

    from fastimport import commands
    cmd = commands.CommitCommand('refs/heads/foo', 'mrkr', ('Jelmer', 'jelmer@samba.org', 432432432.0, 3600), ('Jelmer', 'jelmer@samba.org', 432432432.0, 3600), 'FOO', None, [], file_cmds)
    self.processor.commit_handler(cmd)
    return self.repo[self.processor.last_commit]
