From: Dridi Boukelmoune Date: Sat, 12 Oct 2013 18:11:32 +0000 (+0200) Subject: vcsh: Only fetch the upstream branch during clone X-Git-Url: https://git.madduck.net/code/vcsh.git/commitdiff_plain/9e324980073d450b700cfeb1952adee2dabd0ddb?hp=21030a7f325e0496deb8084c768a74d2ad9ea15c vcsh: Only fetch the upstream branch during clone --- 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" ] &&