Add SparkleShare.txt and .sparkleshare in a single commit

This commit is contained in:
Hylke Bons 2012-04-22 18:13:40 +02:00
parent 4816895399
commit b230d14d4a
3 changed files with 3 additions and 12 deletions

View file

@ -710,16 +710,6 @@ namespace SparkleLib.Git {
}
public override void CreateInitialChangeSet ()
{
base.CreateInitialChangeSet ();
Add ();
string message = FormatCommitMessage ();
Commit (message);
}
// Git doesn't track empty directories, so this method
// fills them all with a hidden empty file.
//

View file

@ -165,10 +165,10 @@ namespace SparkleLib {
this.status = status;
};
this.identifier = Identifier;
if (CurrentRevision == null)
CreateInitialChangeSet ();
this.identifier = Identifier;
CreateWatcher ();

View file

@ -189,6 +189,7 @@ namespace SparkleShare {
}
if (this.current_page == PageType.Syncing ||
this.current_page == PageType.Finished ||
this.current_page == PageType.CryptoSetup ||
this.current_page == PageType.CryptoPassword) {