fix reversed logic

master
nathaniel smith 2017-09-23 15:04:47 -07:00
parent 62898ce86b
commit f5e7c75a8a
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ def create_repo(to_clone, local_path, author_name, author_email):
def dirty(repo_path): def dirty(repo_path):
# TODO figure out how to do with GitPython # TODO figure out how to do with GitPython
repo = pygit2.Repository(repo_path) repo = pygit2.Repository(repo_path)
return repo.status() == {} return repo.status() != {}
def make_commit(repo_path, author_name, author_email): def make_commit(repo_path, author_name, author_email):
"""Given a path to a repository, adds everything and commits it. If there """Given a path to a repository, adds everything and commits it. If there