X-Git-Url: https://git.madduck.net/code/vcsh.git/blobdiff_plain/93b8c205b18a69c4e5ae6b9ebe425c328e23c17b..be1c81ee11c7c97d20dcb63b4f8d46febcbc875f:/vcsh?ds=sidebyside diff --git a/vcsh b/vcsh index af67e18..63e726e 100755 --- a/vcsh +++ b/vcsh @@ -24,7 +24,7 @@ SELF=$(basename $0) fatal() { echo "$SELF: fatal: $1" >&2 - [ -z $2] && exit 1 + [ -z $2 ] && exit 1 exit $2 } @@ -154,7 +154,8 @@ clone() { git config branch."$VCSH_BRANCH".remote origin git config branch."$VCSH_BRANCH".merge refs/heads/"$VCSH_BRANCH" if [ $(git ls-remote origin "$VCSH_BRANCH" 2> /dev/null | wc -l ) -lt 1 ]; then - info "remote is empty, not merging anything" + info "remote is empty, not merging anything. + You should add files to your new repository." exit fi git fetch origin "$VCSH_BRANCH"