From 426b597d02761ebb483eccf8512cb992dbd682c3 Mon Sep 17 00:00:00 2001 From: andryyy Date: Thu, 29 Jun 2017 21:24:07 +0200 Subject: [PATCH] Fix update check --- update.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/update.sh b/update.sh index da3b2262..9a50941e 100755 --- a/update.sh +++ b/update.sh @@ -25,7 +25,7 @@ case "${1}" in --check|-c) echo "Checking remote code for updates..." git fetch - if ! git diff --quiet --exit-code; then + if ! git diff origin/${BRANCH} --quiet; then echo "Updated code is available." else echo "No updates available."