Skip to main content
Sign in
Snippets Groups Projects
Commit c0b61b8e authored by Kevin Lyda's avatar Kevin Lyda :speech_balloon:
Browse files

Fix commit.

Commit is currently broken. This fixes it by shifting the command line
arguments to remove "commit" and by correctly quoting "$@".
parent 0fe34b82
Branches
Tags
No related merge requests found
......@@ -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
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment