]> Git [git.vados.ru] :: Repos - Mikrotiks/ros.vados.ru.git/commitdiff
Auto-commit: Makefile updated on 3/6/2026
authorvados-dev <vados@vados.ru>
Fri, 6 Mar 2026 10:54:16 +0000 (13:54 +0300)
committervados-dev <vados@vados.ru>
Fri, 6 Mar 2026 10:54:16 +0000 (13:54 +0300)
Makefile

index 3eb1e433e92b87fdd571ff9b1115ec0fec44e0ab..aa8deb20e79cf001b2302d730dd1b7736337aa18 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -107,20 +107,12 @@ check-uncommitted:
 #.PHONY: check-uncommitted
 #check-uncommitted:
 fake_target:
-    @if git diff --quiet && git diff --cached --quiet && [ -z "$$(git ls-files --others --exclude-standard)" ]; then \
-       echo "Repository is clean (no uncommitted or untracked changes). Exit."; \
-       exit 0; \
+       @if git diff --quiet && git diff --cached --quiet && [ -z "$$(git ls-files --others --exclude-standard)" ]; then \
+               echo "Repository is clean (no uncommitted or untracked changes). Exit."; \
+               exit 0; \
     else \
-        git add . && backcheck:; \
-    fi
-
-#              echo $(shell git status --porcelain 2>/dev/null); \
-
-
-git-%:
-    ifeq ($(@:git-%=%), push)
-           git push origin $(BRANCH)
-    endif
+        git add . && \
+       fi
 
 #      git add . && \
 #      commitinfo && \