From 175b2c8703ef0ecbcd7d8cb7613fa3cb72c81c12 Mon Sep 17 00:00:00 2001 From: Thomas Guyot-Sionnest Date: Wed, 11 Nov 2009 09:53:35 -0500 Subject: [PATCH] Fix fetching of remote branches --- tools/sfsnapshotgit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/sfsnapshotgit b/tools/sfsnapshotgit index af05c24..e79dd55 100755 --- a/tools/sfsnapshotgit +++ b/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" -- 2.30.2