Skip to content

Commit

Permalink
print uncommited changes
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids committed Dec 28, 2019
1 parent 2930353 commit c6d8a60
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion qgispluginci/release.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,10 @@ def create_archive(

# keep track of current state
initial_stash = None
if repo.index.diff(None):
diff = repo.index.diff(None)
if diff:
print("Uncommitted changes:")
print(diff)
if not allow_uncommitted_changes:
raise UncommitedChanges('You have uncommitted changes. Stash or commit them.')
else:
Expand Down

0 comments on commit c6d8a60

Please sign in to comment.