[repo] Add todo and fix syncing animation for fetching
This commit is contained in:
parent
7f0e77d288
commit
69bb7d62a0
|
@ -218,6 +218,8 @@ namespace SparkleLib {
|
|||
private void Add ()
|
||||
{
|
||||
|
||||
// TODO: Check whether adding files is neccassary
|
||||
|
||||
SparkleHelpers.DebugInfo ("Git", "[" + Name + "] Staging changes...");
|
||||
|
||||
Process.StartInfo.Arguments = "add --all";
|
||||
|
@ -271,17 +273,20 @@ namespace SparkleLib {
|
|||
|
||||
Process.StartInfo.Arguments = "fetch";
|
||||
|
||||
Process.WaitForExit ();
|
||||
Process.Start ();
|
||||
|
||||
SparkleHelpers.DebugInfo ("Git", "[" + Name + "] Changes fetched.");
|
||||
Process.Exited += delegate {
|
||||
|
||||
args = new SparkleEventArgs ("FetchingFinished");
|
||||
SparkleHelpers.DebugInfo ("Git", "[" + Name + "] Changes fetched.");
|
||||
|
||||
if (FetchingFinished != null)
|
||||
FetchingFinished (this, args);
|
||||
args = new SparkleEventArgs ("FetchingFinished");
|
||||
|
||||
Rebase ();
|
||||
if (FetchingFinished != null)
|
||||
FetchingFinished (this, args);
|
||||
|
||||
Rebase ();
|
||||
|
||||
};
|
||||
|
||||
} finally {
|
||||
|
||||
|
|
Loading…
Reference in a new issue