From: Richard Hartmann Date: Mon, 13 Apr 2015 07:16:27 +0000 (+0200) Subject: vcsh: Fix foreach() X-Git-Url: https://git.madduck.net/code/vcsh.git/commitdiff_plain/d921399d97e499b69ed5c9ed98cef69e61704791 vcsh: Fix foreach() --- 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 }