From: Richard Hartmann Date: Sun, 27 Aug 2017 20:18:00 +0000 (+0200) Subject: Merge pull request #215 from lyda/commit-fix X-Git-Url: https://git.madduck.net/code/vcsh.git/commitdiff_plain/f7f3bce02a604ca96fe5c239ba351a501a08568d?hp=8cee7f8f17f752e0dd2d60e43f9a2dbd87f881fc Merge pull request #215 from lyda/commit-fix Fix commit. --- diff --git a/vcsh b/vcsh index 7a63b2b..6acf274 100755 --- a/vcsh +++ b/vcsh @@ -190,11 +190,12 @@ clone() { commit() { hook pre-commit + shift # remove the "commit" command. 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 commit --untracked-files=no --quiet $@ + git commit --untracked-files=no --quiet "$@" VCSH_COMMAND_RETURN_CODE=$? echo done