[F] nix-git-update condition is reversed

This commit is contained in:
Hykilpikonna
2021-08-24 15:23:47 -04:00
committed by GitHub
parent 14a6e98dcb
commit b3bdb15e47
+2 -1
View File
@@ -12,7 +12,8 @@ nix-git-update() {
update-nix-fetchgit *.nix
# If there are changes after updating
if git diff-index --quiet HEAD --; then
if ! git diff-index --quiet HEAD --; then
# Has changes
rebuild-gc
git add *.nix
git commit -m "[U] Update fetchgit refs"