GitRepo.vala
authorAlan Knowles <alan@roojs.com>
Fri, 25 Aug 2017 04:39:50 +0000 (12:39 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 25 Aug 2017 04:39:50 +0000 (12:39 +0800)
GitRepo.vala

index 9581510..93a94e2 100644 (file)
@@ -244,7 +244,7 @@ public class GitRepo : Object
     public string pull () throws Error, SpawnError
     {
         // should probably hand error conditions better... 
-        string[] cmd = { "pull" , "--no-edit" };
+        string[] cmd = { "pull" , "--no-edit", "origin", "HEAD" };
         return this.git( cmd );