Skip to content

Commit

Permalink
correctly print diff
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids committed Dec 28, 2019
1 parent 9018b7a commit 8e582e1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion qgispluginci/release.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,8 @@ def create_archive(
diff = repo.index.diff(None)
if diff:
print("Uncommitted changes:")
print(diff)
for diff in diff:
print(diff)
if not allow_uncommitted_changes:
raise UncommitedChanges('You have uncommitted changes. Stash or commit them.')
else:
Expand Down

0 comments on commit 8e582e1

Please sign in to comment.