From 09cebba5a912f89e692f6a9daaa92cf9ac17e588 Mon Sep 17 00:00:00 2001 From: Hylke Bons Date: Sun, 3 Oct 2010 11:01:49 +0100 Subject: [PATCH] [fetcher] don't fetch complete history by default --- SparkleLib/SparkleFetcher.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SparkleLib/SparkleFetcher.cs b/SparkleLib/SparkleFetcher.cs index 951e5ae1..521a8a0a 100644 --- a/SparkleLib/SparkleFetcher.cs +++ b/SparkleLib/SparkleFetcher.cs @@ -63,7 +63,7 @@ namespace SparkleLib { process.StartInfo.RedirectStandardOutput = true; process.StartInfo.UseShellExecute = false; process.StartInfo.FileName = "git"; - process.StartInfo.Arguments = "clone " + RemoteOriginUrl + " " + TargetFolder; + process.StartInfo.Arguments = "clone --depth=1 " + RemoteOriginUrl + " " + TargetFolder; process.Exited += delegate {