Code

Fix fetching of remote branches
authorThomas Guyot-Sionnest <dermoth@aei.ca>
Wed, 11 Nov 2009 14:53:35 +0000 (09:53 -0500)
committerThomas Guyot-Sionnest <dermoth@aei.ca>
Wed, 11 Nov 2009 14:53:35 +0000 (09:53 -0500)
tools/sfsnapshotgit

index af05c24bada3f296f3f8d9eeecfd35403c7683c1..e79dd5538eac0efa48f049aa0ee2b9460557b3ac 100755 (executable)
@@ -46,7 +46,7 @@ git reset --hard
 git clean -qfdx
 # Any branch used to create snapshots must already exist
 git checkout "$HEAD"
 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"
 git reset --hard "$SFSNAP_ORIGIN"/"$HEAD"
 # Tags are important for git-describe
 git fetch --tags "$SFSNAP_ORIGIN"