Jelajahi Sumber

Fix fetching of remote branches

Thomas Guyot-Sionnest 16 tahun lalu
induk
melakukan
175b2c8703
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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"