forget to read the git status output in rebase

This commit is contained in:
Hylke Bons 2010-05-23 19:03:05 +01:00
parent 68ada3a206
commit 6729ef1a60

View file

@ -224,7 +224,9 @@ namespace SparkleShare {
// Merges the fetched changes // Merges the fetched changes
public void Rebase () { public void Rebase () {
Watcher.EnableRaisingEvents = false; Watcher.EnableRaisingEvents = false;
Console.WriteLine ("[Git][" + Name + "] Rebasing fetched changes... "); Console.WriteLine ("[Git][" + Name + "] Rebasing fetched changes... ");
Process.StartInfo.Arguments = "rebase origin"; Process.StartInfo.Arguments = "rebase origin";
Process.WaitForExit (); Process.WaitForExit ();
@ -242,8 +244,7 @@ namespace SparkleShare {
Process.StartInfo.Arguments = "status"; Process.StartInfo.Arguments = "status";
Process.WaitForExit (); Process.WaitForExit ();
Process.Start(); Process.Start();
Output = Process.StandardOutput.ReadToEnd().Trim ();
Watcher.EnableRaisingEvents = false;
foreach (string Line in Regex.Split (Output, "\n")) { foreach (string Line in Regex.Split (Output, "\n")) {
@ -288,8 +289,6 @@ namespace SparkleShare {
Process.Start(); Process.Start();
Console.WriteLine ("[Git][" + Name + "] Conflict resolved."); Console.WriteLine ("[Git][" + Name + "] Conflict resolved.");
Watcher.EnableRaisingEvents = true;
Push (); Push ();
Fetch (); Fetch ();