X-Git-Url: https://git.madduck.net/code/vcsh.git/blobdiff_plain/8cee7f8f17f752e0dd2d60e43f9a2dbd87f881fc..978b5a89e230fbd69e4ae0cd7f377eb9740b1ad9:/vcsh?ds=inline diff --git a/vcsh b/vcsh index 7a63b2b..f06f5b4 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 @@ -278,7 +279,7 @@ list() { get_files() { GIT_DIR=$VCSH_REPO_D/$VCSH_REPO_NAME.git; export GIT_DIR - git ls-files + git ls-files --full-name } list_tracked() {