mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 12:03:31 +01:00
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 <jan@janware.com>
This commit is contained in:
parent
6c315f027e
commit
f090015b48
1 changed files with 2 additions and 2 deletions
|
|
@ -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 ;\
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue