Skip to content
Snippets Groups Projects
Commit 9e324980 authored by Dridi Boukelmoune's avatar Dridi Boukelmoune
Browse files

vcsh: Only fetch the upstream branch during clone

parent 21030a7f
No related branches found
No related tags found
No related merge requests found
......@@ -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" ] &&
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment