From f090015b48a54ee1dbf4b73fe1422edc45027c21 Mon Sep 17 00:00:00 2001 From: Jan Lindemann Date: Tue, 6 Jan 2026 10:38:30 +0100 Subject: [PATCH] projects-dir.mk: Fix git-show-pushable-master-branches make git-show-pushable-master-branches output too litte for two reasons: 1. grep -q returns zero also if no matches are found, and 2. PROJECTS doesn't contain all relevant projects. BUILD_PROJECTS is more meaningful. Signed-off-by: Jan Lindemann --- make/projects-dir.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/make/projects-dir.mk b/make/projects-dir.mk index 381c5b45..945c3e82 100644 --- a/make/projects-dir.mk +++ b/make/projects-dir.mk @@ -341,8 +341,8 @@ git-show-non-master-branches: done git-show-pushable-master-branches: - @for p in $(PROJECTS); do \ - if git -C $$p log --oneline origin/master.. | grep -q .; then \ + @for p in $(BUILD_PROJECTS); do \ + if git -C $$p log --oneline origin/master.. | grep . >/dev/null; then \ echo ======================= $$p ;\ git -C $$p log --oneline origin/master.. ;\ fi ;\