From daad99c38b65205f7ceb7aabfeedc24450fb6744 Mon Sep 17 00:00:00 2001 From: Hylke Bons Date: Thu, 5 May 2011 00:07:02 +0100 Subject: [PATCH] update AUTHORS, and don't go on the slippery slope of using implicit typing --- AUTHORS | 3 ++- SparkleLib/SparkleRepo.cs | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/AUTHORS b/AUTHORS index 480db93d..bb3484a7 100644 --- a/AUTHORS +++ b/AUTHORS @@ -18,6 +18,7 @@ Contributors: Andreas Nilsson Benjamin Podszun Bertrand Lorentz + Gabriel Burt Garrett LeSage Hylke Bons Jakub Steiner @@ -37,5 +38,5 @@ Contributors: Vincent Untz Will Thompson + Thanks very much! -Thanks very much! diff --git a/SparkleLib/SparkleRepo.cs b/SparkleLib/SparkleRepo.cs index 7d9be6bd..e0c5d00d 100644 --- a/SparkleLib/SparkleRepo.cs +++ b/SparkleLib/SparkleRepo.cs @@ -916,14 +916,14 @@ namespace SparkleLib { entries.Add (last_entry); - var merge_regex = new Regex (@"commit ([a-z0-9]{40})\n" + + Regex merge_regex = new Regex (@"commit ([a-z0-9]{40})\n" + "Merge: .+ .+\n" + "Author: (.+) <(.+)>\n" + "Date: ([0-9]{4})-([0-9]{2})-([0-9]{2}) " + "([0-9]{2}):([0-9]{2}):([0-9]{2}) .([0-9]{4})\n" + "*", RegexOptions.Compiled); - var non_merge_regex = new Regex (@"commit ([a-z0-9]{40})\n" + + Regex non_merge_regex = new Regex (@"commit ([a-z0-9]{40})\n" + "Author: (.+) <(.+)>\n" + "Date: ([0-9]{4})-([0-9]{2})-([0-9]{2}) " + "([0-9]{2}):([0-9]{2}):([0-9]{2}) .([0-9]{4})\n" +