From 14eec3069b6c78cf22cfb4687cbff9cf3f94a734 Mon Sep 17 00:00:00 2001 From: Jan Lindemann Date: Thu, 27 Sep 2018 13:56:43 +0000 Subject: [PATCH] projects-dir.mk: Add target sync-all sync-all does pull all and push --all --recurse-submodules=on-demand Signed-off-by: Jan Lindemann --- make/projects-dir.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/make/projects-dir.mk b/make/projects-dir.mk index c9005d92..703db062 100644 --- a/make/projects-dir.mk +++ b/make/projects-dir.mk @@ -201,6 +201,8 @@ update pull: purge cvs-update git-clone sync: pull push +sync-all: pull-all push-all + sync-%: ssh $* make -C $(shell pwd) sync @@ -230,7 +232,7 @@ git-push push: $(SSH_WRAPPER_SH) $(PGIT) push git-push-all: $(SSH_WRAPPER_SH) - $(PGIT) push --all + $(PGIT) push --all --recurse-submodules=on-demand git-diff: $(SSH_WRAPPER_SH) $(PGIT) diff