def get_working_dir_commit(repo):
    tree = repo.getWorkingDir()
    if not tree:
        tree = '<none>'
    parents = [constants.COMMIT_INDEX]
    author = _get_bogus_author()
    committer = _get_bogus_author()
    comment = 'Uncomitted changes in the working directory'
    # XXX: it might be better to define a separate class for this
    return Commit(repo, constants.COMMIT_WD, tree, parents, author, committer,
                  comment)
Generate an HTML report of query statistics.
dataset/ETHPy150Open facebookarchive/git-review/src/gitreview/git/commit.py/get_working_dir_commit--crossover with--dataset/ETHPy150Open inconshreveable/sqltap/sqltap/sqltap.py/report