浏览代码

Fix fetching of remote branches

Thomas Guyot-Sionnest 16 年之前
父节点
当前提交
175b2c8703
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tools/sfsnapshotgit

+ 1 - 1
tools/sfsnapshotgit

@@ -46,7 +46,7 @@ git reset --hard
 git clean -qfdx
 # Any branch used to create snapshots must already exist
 git checkout "$HEAD"
-git fetch "$SFSNAP_ORIGIN" "$HEAD"
+git fetch "$SFSNAP_ORIGIN"
 git reset --hard "$SFSNAP_ORIGIN"/"$HEAD"
 # Tags are important for git-describe
 git fetch --tags "$SFSNAP_ORIGIN"