From 329fe4885fe776e741ec5994fbfbd91e92abfe21 Mon Sep 17 00:00:00 2001 From: Hylke Bons Date: Sat, 27 Apr 2013 13:02:54 +0100 Subject: [PATCH] fetcher: fix host key check. closes #1249 --- SparkleLib/Git/SparkleFetcherGit.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/SparkleLib/Git/SparkleFetcherGit.cs b/SparkleLib/Git/SparkleFetcherGit.cs index 7d0e9124..fc36646c 100755 --- a/SparkleLib/Git/SparkleFetcherGit.cs +++ b/SparkleLib/Git/SparkleFetcherGit.cs @@ -107,6 +107,9 @@ namespace SparkleLib.Git { public override bool Fetch () { + if (!base.Fetch ()) + return false; + if (FetchPriorHistory) { this.git = new SparkleGit (SparkleConfig.DefaultConfig.TmpPath, "clone --progress --no-checkout \"" + RemoteUrl + "\" \"" + TargetFolder + "\"");