fetcher git: don't read output on checkout and add --quiet option
This commit is contained in:
parent
5ee72e37f5
commit
1b04fda8f7
|
@ -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 ();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue