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