Merge pull request #781 from carlosmn/rev-parse
SparkleLib: Use rev-parse HEAD to determine latest commit
This commit is contained in:
commit
2bee090694
|
@ -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 ();
|
||||
|
||||
|
|
Loading…
Reference in a new issue