fetcher git: don't read output on checkout and add --quiet option

This commit is contained in:
Hylke Bons 2012-06-28 12:18:00 +01:00
parent 5ee72e37f5
commit 1b04fda8f7

View file

@ -288,12 +288,8 @@ namespace SparkleLib.Git {
if (IsFetchedRepoEmpty)
return;
SparkleGit git = new SparkleGit (TargetFolder, "checkout HEAD");
SparkleGit git = new SparkleGit (TargetFolder, "checkout --quiet HEAD");
git.Start ();
// Reading the standard output HAS to go before
// WaitForExit, or it will hang forever on output > 4096 bytes
git.StandardOutput.ReadToEnd ();
git.WaitForExit ();
}