sb: Fix git to clean before updating.

This commit is contained in:
Chris Johns
2014-03-26 17:13:25 +11:00
parent b77019a91e
commit 8c19df26f6
3 changed files with 8 additions and 2 deletions

View File

@@ -302,7 +302,7 @@ class command_line:
if repo.valid():
repo_valid = '1'
repo_head = repo.head()
repo_clean = repo.clean()
repo_clean = not repo.dirty()
repo_id = repo_head
if not repo_clean:
repo_id += '-modified'