GitRepo.vala
[gitlive] / GitRepo.vala
index e962e5d..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 );
 
         
@@ -261,7 +261,7 @@ public class GitRepo : Object
     public string push () throws Error, SpawnError
     {
         // should 
-        return this.git({ "push" });
+        return this.git({ "push", "origin", "HEAD" });
         
     }
      /**