From 683dc5a63567eae2c7c636546f988fe440ee75a0 Mon Sep 17 00:00:00 2001 From: Hylke Bons Date: Thu, 21 Jul 2011 00:49:09 +0100 Subject: [PATCH] Fix notifications The check wether it was a new commit always returned false --- SparkleLib/SparkleRepoBase.cs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/SparkleLib/SparkleRepoBase.cs b/SparkleLib/SparkleRepoBase.cs index d877994e..f5373aa5 100644 --- a/SparkleLib/SparkleRepoBase.cs +++ b/SparkleLib/SparkleRepoBase.cs @@ -441,9 +441,8 @@ namespace SparkleLib { if (SyncStatusChanged != null) SyncStatusChanged (SyncStatus.Idle); - SparkleChangeSet change_set = GetChangeSets (1) [0]; - if (NewChangeSet != null && change_set.Revision != CurrentRevision) - NewChangeSet (change_set, LocalPath); + if (NewChangeSet != null) + NewChangeSet (GetChangeSets (1) [0], LocalPath); // There could be changes from a // resolved conflict. Tries only once,