Skip to content
Snippets Groups Projects
Commit 926bc250 authored by Roland Hopferwieser's avatar Roland Hopferwieser Committed by GitHub
Browse files

Merge pull request #5 from lyda/commit-fix

Fix commit.
parents fe516c7d c0b61b8e
Branches
No related tags found
No related merge requests found
...@@ -187,11 +187,12 @@ clone() { ...@@ -187,11 +187,12 @@ clone() {
commit() { commit() {
hook pre-commit hook pre-commit
shift # remove the "commit" command.
for VCSH_REPO_NAME in $(list); do for VCSH_REPO_NAME in $(list); do
echo "$VCSH_REPO_NAME: " echo "$VCSH_REPO_NAME: "
GIT_DIR=$VCSH_REPO_D/$VCSH_REPO_NAME.git; export GIT_DIR GIT_DIR=$VCSH_REPO_D/$VCSH_REPO_NAME.git; export GIT_DIR
use use
git commit --untracked-files=no --quiet $@ git commit --untracked-files=no --quiet "$@"
VCSH_COMMAND_RETURN_CODE=$? VCSH_COMMAND_RETURN_CODE=$?
echo echo
done done
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment