From 9e324980073d450b700cfeb1952adee2dabd0ddb Mon Sep 17 00:00:00 2001
From: Dridi Boukelmoune <dridi.boukelmoune@gmail.com>
Date: Sat, 12 Oct 2013 20:11:32 +0200
Subject: [PATCH] vcsh: Only fetch the upstream branch during clone

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

diff --git a/vcsh b/vcsh
index edb91fa..898bdb5 100755
--- a/vcsh
+++ b/vcsh
@@ -153,7 +153,7 @@ clone() {
 		info "remote is empty, not merging anything"
 		exit
 	fi
-	git fetch
+	git fetch origin "$VCSH_BRANCH"
 	hook pre-merge
 	git ls-tree -r --name-only origin/master | (while read object; do
 		[ -e "$object" ] &&
-- 
GitLab