diff --git a/vcsh b/vcsh index de1b419f4ce57ee0d74233d4156358d418f3055a..a798e7d026a49f1c8d2c8bfca6a3d2a5425442ea 100755 --- a/vcsh +++ b/vcsh @@ -186,11 +186,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