From 6c4b8446fa6d457954aa4bf9b35543d72a8e0761 Mon Sep 17 00:00:00 2001
From: physikerwelt <wiki@physikerwelt.de>
Date: Tue, 14 May 2019 16:09:19 -0400
Subject: [PATCH] Use --exit-code as first argument of git diff

---
 support/compile.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/support/compile.sh b/support/compile.sh
index 2925a5e..21bac06 100755
--- a/support/compile.sh
+++ b/support/compile.sh
@@ -8,4 +8,4 @@ cp allRefs.pdf ../../main.pdf
 cd ../..
 python3 support/issue.py
 support/pubHtml
-git diff -w docs/publist.html --exit-code || support/commitPub.sh
+git diff --exit-code -w docs/publist.html || support/commitPub.sh
-- 
GitLab