Skip to content
Snippets Groups Projects
Commit 3dec76f4 authored by Richard Hartmann's avatar Richard Hartmann
Browse files

Formatting

parent 98a1fbf7
Branches
Tags
No related merge requests found
...@@ -225,13 +225,13 @@ if [ "$1" = 'clone' ]; then ...@@ -225,13 +225,13 @@ if [ "$1" = 'clone' ]; then
[ -n "$3" ] && VCSH_REPO_NAME="$3" || VCSH_REPO_NAME=$(basename "$GIT_REMOTE" .git) [ -n "$3" ] && VCSH_REPO_NAME="$3" || VCSH_REPO_NAME=$(basename "$GIT_REMOTE" .git)
export VCSH_REPO_NAME export VCSH_REPO_NAME
export GIT_DIR="$VCSH_REPO_D/$VCSH_REPO_NAME.git" export GIT_DIR="$VCSH_REPO_D/$VCSH_REPO_NAME.git"
elif [ "$1" = 'delete' ] || elif [ "$1" = 'delete' ] ||
[ "$1" = 'enter' ] || [ "$1" = 'enter' ] ||
[ "$1" = 'init' ] || [ "$1" = 'init' ] ||
[ "$1" = 'list-tracked-by' ] || [ "$1" = 'list-tracked-by' ] ||
[ "$1" = 'rename' ] || [ "$1" = 'rename' ] ||
[ "$1" = 'run' ] || [ "$1" = 'run' ] ||
[ "$1" = 'setup' ] || [ "$1" = 'setup' ] ||
[ "$1" = 'write-gitignore' ]; then [ "$1" = 'write-gitignore' ]; then
[ -z $2 ] && fatal "$1: please specify repository to work on" 1 [ -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" = 'rename' -a -z "$3" ] && fatal "$1: please specify a target name" 1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment