repo: don't show warning statusicon upon initial commit

This commit is contained in:
Hylke 2011-06-23 13:56:25 +01:00
parent 961db1ca45
commit 1428f486b1
2 changed files with 4 additions and 16 deletions

View file

@ -527,17 +527,6 @@ namespace SparkleLib {
return message.TrimEnd (); return message.TrimEnd ();
} }
public override void CreateInitialChangeSet ()
{
base.CreateInitialChangeSet ();
Add ();
string message = FormatCommitMessage ();
Commit (message);
}
public override bool UsesNotificationCenter public override bool UsesNotificationCenter
{ {
get { get {

View file

@ -86,12 +86,11 @@ namespace SparkleLib {
this.status = status; this.status = status;
}; };
if (CurrentRevision == null) {
CreateInitialChangeSet ();
HasUnsyncedChanges = true;
}
CreateWatcher (); CreateWatcher ();
if (CurrentRevision == null)
CreateInitialChangeSet ();
CreateListener (); CreateListener ();
this.local_timer.Elapsed += delegate (object o, ElapsedEventArgs args) { this.local_timer.Elapsed += delegate (object o, ElapsedEventArgs args) {