Merge pull request #781 from carlosmn/rev-parse

SparkleLib: Use rev-parse HEAD to determine latest commit
This commit is contained in:
Hylke Bons 2012-06-07 06:56:41 -07:00
commit 588e7abcbb

View file

@ -142,7 +142,7 @@ namespace SparkleLib.Git {
if (File.Exists (rebase_apply_file))
File.Delete (rebase_apply_file);
SparkleGit git = new SparkleGit (LocalPath, "log -1 --format=%H");
SparkleGit git = new SparkleGit (LocalPath, "rev-parse HEAD");
git.Start ();
git.WaitForExit ();