[F] nix-git-update condition is reversed
This commit is contained in:
@@ -12,7 +12,8 @@ nix-git-update() {
|
|||||||
update-nix-fetchgit *.nix
|
update-nix-fetchgit *.nix
|
||||||
|
|
||||||
# If there are changes after updating
|
# If there are changes after updating
|
||||||
if git diff-index --quiet HEAD --; then
|
if ! git diff-index --quiet HEAD --; then
|
||||||
|
# Has changes
|
||||||
rebuild-gc
|
rebuild-gc
|
||||||
git add *.nix
|
git add *.nix
|
||||||
git commit -m "[U] Update fetchgit refs"
|
git commit -m "[U] Update fetchgit refs"
|
||||||
|
|||||||
Reference in New Issue
Block a user