Răsfoiți Sursa

Fix fetching of remote branches

Thomas Guyot-Sionnest 16 ani în urmă
părinte
comite
175b2c8703
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  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"