瀏覽代碼

No tags when fetching

Willy-JL 2 年之前
父節點
當前提交
01a4a4aaab
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      .utils/subdir-helper.sh

+ 1 - 1
.utils/subdir-helper.sh

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