[nagiosplug] Fix fetching of remote branches

"Thomas Guyot-Sionnest" <[email protected]>
Newsgroups gmane.network.nagios.plugins.cvs
Message-ID <[email protected]>
 Module: nagiosplug
 Branch: master
 Commit: 175b2c8703ef0ecbcd7d8cb7613fa3cb72c81c12
 Author: Thomas Guyot-Sionnest <[email protected]>
   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"


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.