diff --git a/skipper/git.py b/skipper/git.py index b8eb994..5098114 100644 --- a/skipper/git.py +++ b/skipper/git.py @@ -18,6 +18,7 @@ def get_hash(short=False): return subprocess.check_output(git_command).strip().decode('utf-8') + def uncommitted_changes(): """Return True is there are uncommitted changes.""" return subprocess.call(['git', 'diff', '--quiet', 'HEAD']) != 0