From c6d8a60f093ec041e4ffef4b74d827f300f6bc2c Mon Sep 17 00:00:00 2001 From: Denis Rouzaud Date: Sat, 28 Dec 2019 07:24:20 +0100 Subject: [PATCH] print uncommited changes --- qgispluginci/release.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/qgispluginci/release.py b/qgispluginci/release.py index 61295851..5ca7aba8 100644 --- a/qgispluginci/release.py +++ b/qgispluginci/release.py @@ -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: