From: Richard Hartmann Date: Fri, 5 Jul 2013 23:20:55 +0000 (+0200) Subject: vcsh: Formatting X-Git-Url: https://git.madduck.net/code/vcsh.git/commitdiff_plain/a38e2f1749a80b9571d53a2328275b4741fe38e2?hp=--cc vcsh: Formatting --- a38e2f1749a80b9571d53a2328275b4741fe38e2 diff --git a/vcsh b/vcsh index e6b9377..2764d3d 100755 --- a/vcsh +++ b/vcsh @@ -332,12 +332,12 @@ elif [ "$1" = 'delete' ] || [ "$1" = 'write-gitignore' ]; then [ -z $2 ] && fatal "$1: please specify repository to work on" 1 [ "$1" = 'rename' -a -z "$3" ] && fatal "$1: please specify a target name" 1 - [ "$1" = 'run' -a -z "$3" ] && fatal "$1: please specify a command" 1 + [ "$1" = 'run' -a -z "$3" ] && fatal "$1: please specify a command" 1 export VCSH_COMMAND="$1" export VCSH_REPO_NAME="$2" export GIT_DIR="$VCSH_REPO_D/$VCSH_REPO_NAME.git" - [ "$VCSH_COMMAND" = 'rename' ] && export GIT_DIR_NEW="$VCSH_REPO_D/$3.git" - [ "$VCSH_COMMAND" = 'run' ] && shift 2 + [ "$VCSH_COMMAND" = 'rename' ] && export GIT_DIR_NEW="$VCSH_REPO_D/$3.git" + [ "$VCSH_COMMAND" = 'run' ] && shift 2 [ "$VCSH_COMMAND" = 'write-gitignore' ] elif [ "$1" = 'list' ] || [ "$1" = 'list-tracked' ] ||