Skip to content

Commit

Permalink
fix style
Browse files Browse the repository at this point in the history
  • Loading branch information
eranco74 committed Aug 2, 2023
1 parent ed7b9e1 commit 4ba1c9e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions skipper/git.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 4ba1c9e

Please sign in to comment.