summaryrefslogtreecommitdiffstats
path: root/source-builder/sb/options.py
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2014-03-26 17:13:25 +1100
committerChris Johns <chrisj@rtems.org>2014-03-26 17:13:47 +1100
commit8c19df26f679f53f22144c43b3141278e19da80e (patch)
treeb74d59e2a0bdf15867fbd90164e83b491a41ff6a /source-builder/sb/options.py
parentconfig: Build without zlib due to errors in psim. (diff)
downloadrtems-source-builder-8c19df26f679f53f22144c43b3141278e19da80e.tar.bz2
sb: Fix git to clean before updating.
Diffstat (limited to 'source-builder/sb/options.py')
-rw-r--r--source-builder/sb/options.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/source-builder/sb/options.py b/source-builder/sb/options.py
index 9be98c1..2d5c04d 100644
--- a/source-builder/sb/options.py
+++ b/source-builder/sb/options.py
@@ -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'