From c05b582232936e006b88595b36aa8318a53b2f7e Mon Sep 17 00:00:00 2001
From: Richard Hartmann <richih.mailinglist@gmail.com>
Date: Mon, 5 Dec 2011 11:47:37 +0100
Subject: [PATCH] Remove useless condition
---
vcsh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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"
--
GitLab