@decorators.null_logger
def commit(repository_path, argv, logger=None):

    start_time = time.time()
    accumulator = Counter()

    for file in get_files(repository_path, argv):
        porcelain_blame = blame(repository_path,  file, argv, logger)
        counter = process_blame(porcelain_blame, argv, logger)
        accumulator = accumulator + counter

    elapsed_time = start_time - time.time()

    logger.debug('Elapsed time {}'.format(elapsed_time))
    logger.debug('Final accumulator...')
    logger.debug(accumulator)

    return (accumulator, elapsed_time)
dataset/ETHPy150Open moacirosa/git-current-contributors/blame_relative_count/analyser.py/commit/swapped operands of `-`