|
@@ -15,7 +15,7 @@ prev=$(git branch --show-current)
|
|
|
temp=$(echo ${repo%/} | rev | cut -d/ -f1,2 | rev | tr / -)-${branch}
|
|
temp=$(echo ${repo%/} | rev | cut -d/ -f1,2 | rev | tr / -)-${branch}
|
|
|
fetch=_fetch-${temp}
|
|
fetch=_fetch-${temp}
|
|
|
split=_split-${temp}-$(echo ${subdir} | tr / -)
|
|
split=_split-${temp}-$(echo ${subdir} | tr / -)
|
|
|
-git fetch ${repo} ${branch}:${fetch}
|
|
|
|
|
|
|
+git fetch --no-tags ${repo} ${branch}:${fetch}
|
|
|
git checkout ${fetch}
|
|
git checkout ${fetch}
|
|
|
git subtree split -P ${subdir} -b ${split}
|
|
git subtree split -P ${subdir} -b ${split}
|
|
|
git checkout ${prev}
|
|
git checkout ${prev}
|