[nagiosplug] Fix fetching of remote branches

Thomas Guyot-Sionnest dermoth at users.sourceforge.net
Wed Nov 11 15:54:09 CET 2009


 Module: nagiosplug
 Branch: master
 Commit: 175b2c8703ef0ecbcd7d8cb7613fa3cb72c81c12
 Author: Thomas Guyot-Sionnest <dermoth at aei.ca>
   Date: Wed Nov 11 09:53:35 2009 -0500
    URL: http://nagiosplug.git.sf.net/git/gitweb.cgi?p=nagiosplug/nagiosplug;a=commit;h=175b2c8

Fix fetching of remote branches

---

 tools/sfsnapshotgit |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

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"





More information about the Commits mailing list