From d921399d97e499b69ed5c9ed98cef69e61704791 Mon Sep 17 00:00:00 2001 From: Richard Hartmann Date: Mon, 13 Apr 2015 09:16:27 +0200 Subject: [PATCH] vcsh: Fix foreach() --- vcsh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vcsh b/vcsh index a5c3f48..6ffd964 100755 --- a/vcsh +++ b/vcsh @@ -217,9 +217,10 @@ enter() { foreach() { hook pre-foreach for VCSH_REPO_NAME in $(list); do + echo "$VCSH_REPO_NAME:" GIT_DIR=$VCSH_REPO_D/$VCSH_REPO_NAME.git; export GIT_DIR use - "$@" + git "$@" done hook post-foreach } -- 2.39.2