From: Richard Hartmann Date: Mon, 5 Dec 2011 10:47:37 +0000 (+0100) Subject: Remove useless condition X-Git-Url: https://git.madduck.net/code/vcsh.git/commitdiff_plain/c05b582232936e006b88595b36aa8318a53b2f7e?ds=sidebyside;hp=7b0d7078dbba136a383f4f4345c9fd6474069607 Remove useless condition --- diff --git a/vcsh b/vcsh index 46622af..238e4c88 100755 --- a/vcsh +++ b/vcsh @@ -217,7 +217,7 @@ elif [ "$1" = 'delete' ] || elif [ "$1" = 'list' ] || [ "$1" = 'list-tracked' ]; then export VCSH_COMMAND="$1" -elif [ -n "$1" -a -n "$2" ]; then +elif [ -n "$2" ]; then export VCSH_COMMAND='run' export VCSH_REPO_NAME="$1" export GIT_DIR="$VCSH_BASE/$VCSH_REPO_NAME.git"