[fetcher] don't fetch complete history by default

This commit is contained in:
Hylke Bons 2010-10-03 11:01:49 +01:00
parent b53ed9daed
commit 09cebba5a9

View file

@ -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 {