From: Richard Hartmann Date: Sun, 21 Jul 2013 11:25:42 +0000 (+0200) Subject: vcsh: Make gitignore options alphabetical X-Git-Url: https://git.madduck.net/code/vcsh.git/commitdiff_plain/5c427f8fb10b356c259d6aeec4ffbdb7c1f8b056 vcsh: Make gitignore options alphabetical --- diff --git a/vcsh b/vcsh index b5b6621..b54ecb4 100755 --- a/vcsh +++ b/vcsh @@ -334,8 +334,8 @@ write_gitignore() { fatal "could not move '$tempfile' to '$VCSH_BASE/.gitignore.d/$VCSH_REPO_NAME'" 53 } -if [ ! "x$VCSH_GITIGNORE" = 'xexact' ] && [ ! "x$VCSH_GITIGNORE" = 'xrecursive' ] && [ ! "x$VCSH_GITIGNORE" = 'xnone' ]; then - fatal "'\$VCSH_GITIGNORE' must equal 'exact', 'recursive', or 'none'" 1 +if [ ! "x$VCSH_GITIGNORE" = 'xexact' ] && [ ! "x$VCSH_GITIGNORE" = 'xnone' ] && [ ! "x$VCSH_GITIGNORE" = 'xrecursive' ]; then + fatal "'\$VCSH_GITIGNORE' must equal 'exact', 'none', or 'recursive'" 1 fi if [ "$1" = 'clone' ]; then