summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: bb19397)
raw | patch | inline | side by side (parent: bb19397)
author | Thomas Guyot-Sionnest <dermoth@aei.ca> | |
Wed, 11 Nov 2009 14:53:35 +0000 (09:53 -0500) | ||
committer | Thomas Guyot-Sionnest <dermoth@aei.ca> | |
Wed, 11 Nov 2009 14:53:35 +0000 (09:53 -0500) |
tools/sfsnapshotgit | patch | blob | history |
diff --git a/tools/sfsnapshotgit b/tools/sfsnapshotgit
index af05c24bada3f296f3f8d9eeecfd35403c7683c1..e79dd5538eac0efa48f049aa0ee2b9460557b3ac 100755 (executable)
--- a/tools/sfsnapshotgit
+++ b/tools/sfsnapshotgit
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"