From be1c81ee11c7c97d20dcb63b4f8d46febcbc875f Mon Sep 17 00:00:00 2001
From: Richard Hartmann <richih@debian.org>
Date: Sat, 25 Oct 2014 23:23:05 +0200
Subject: [PATCH] vcsh: Improve clone() error handling

---
 vcsh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/vcsh b/vcsh
index faba42c..63e726e 100755
--- a/vcsh
+++ b/vcsh
@@ -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"
-- 
GitLab