From 6b73fa152a03e87712b79c5abe9c741f8448128b Mon Sep 17 00:00:00 2001
From: Jean-Paul Calderone <exarkun@twistedmatrix.com>
Date: Wed, 13 Jul 2022 16:42:56 -0400
Subject: [PATCH] got the condition flipped

---
 ci-tools/update-nixpkgs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ci-tools/update-nixpkgs b/ci-tools/update-nixpkgs
index 74badcd8..2c055fdf 100755
--- a/ci-tools/update-nixpkgs
+++ b/ci-tools/update-nixpkgs
@@ -42,7 +42,7 @@ git checkout "${TARGET_BRANCH}" || git checkout -b "${TARGET_BRANCH}"
 nix-shell ./shell.nix --run update-nixpkgs
 
 # Show us what we did
-if ! git diff --exit-code; then
+if git diff --exit-code; then
     echo "No changes."
     exit 0
 fi
-- 
GitLab