def METHOD_NAME(repo):
    """
    Creates an empty commit on the current branch. Uses defaults for author, signature, etc.
    """
    print('Creating empty commit.')
    try:
        repo.commit('--allow-empty', '-m', 'Empty commit')
    except ErrorReturnCode as e:
        print(f'Failed to create empty commit: {e}')
        sys.exit(1)