From: Richard Hartmann Date: Thu, 13 Feb 2014 22:32:31 +0000 (+0100) Subject: vcsh: Fix up the rest of the (relevant) git calls X-Git-Url: https://git.madduck.net/code/vcsh.git/commitdiff_plain/a5872a1580e7d3c9d2104d45fc74d8c1ab001f1e?hp=--cc vcsh: Fix up the rest of the (relevant) git calls --- a5872a1580e7d3c9d2104d45fc74d8c1ab001f1e diff --git a/vcsh b/vcsh index b78235b..068c618 100755 --- a/vcsh +++ b/vcsh @@ -175,6 +175,7 @@ commit() { export GIT_DIR="$VCSH_REPO_D/$VCSH_REPO_NAME.git" use git commit --untracked-files=no --quiet + VCSH_COMMAND_RETURN_CODE=$? echo done hook post-commit @@ -270,6 +271,7 @@ push() { export GIT_DIR="$VCSH_REPO_D/$VCSH_REPO_NAME.git" use git push + VCSH_COMMAND_RETURN_CODE=$? echo done hook post-push @@ -305,12 +307,14 @@ status() { export GIT_DIR="$VCSH_REPO_D/$VCSH_REPO_NAME.git" use git status --short --untracked-files='no' + VCSH_COMMAND_RETURN_CODE=$? else for VCSH_REPO_NAME in $(list); do echo "$VCSH_REPO_NAME:" export GIT_DIR="$VCSH_REPO_D/$VCSH_REPO_NAME.git" use git status --short --untracked-files='no' + VCSH_COMMAND_RETURN_CODE=$? echo done fi