From 0e5583f7f1656438be8bec8ccbf1170ad8f496b9 Mon Sep 17 00:00:00 2001 From: Hylke Bons Date: Sun, 16 May 2010 23:26:34 +0100 Subject: [PATCH] don't show bubble when committing yourself --- SparkleShare/SparkleRepo.cs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/SparkleShare/SparkleRepo.cs b/SparkleShare/SparkleRepo.cs index 2d90f62b..303a9da7 100644 --- a/SparkleShare/SparkleRepo.cs +++ b/SparkleShare/SparkleRepo.cs @@ -216,9 +216,6 @@ namespace SparkleShare { Process.Start(); Process.WaitForExit (); Console.WriteLine ("[Git][" + Name + "] Changes commited."); - ShowEventBubble (UserName + " " + Message, - SparkleHelpers.GetAvatar (UserEmail, 48), - true); } // Fetches changes from the remote repo @@ -247,7 +244,7 @@ namespace SparkleShare { // Show notification if there are updates if (!Output.Equals ("Already up-to-date.")) { - // Get the last commit message + // Get the last committer e-mail Process.StartInfo.Arguments = "log --format=\"%ae\" -1"; Process.Start(); string LastCommitEmail = Process.StandardOutput.ReadToEnd().Trim ();