Git.vala
authorAlan Knowles <alan@roojs.com>
Tue, 12 Mar 2019 08:04:40 +0000 (16:04 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 12 Mar 2019 08:04:40 +0000 (16:04 +0800)
Git.vala

index 45110d2..4393564 100644 (file)
--- a/Git.vala
+++ b/Git.vala
@@ -122,12 +122,13 @@ namespace  GitLive {
                                }
                                //GLib.debug("getting specs '%s'", n);
                                /* 
-                               var head = this.repo.get_head();
+                               
                                this.repo.add_remote_push(
                                        "origin",
                                        "+%s:%s".printf(head.get_shorthand(),head.get_name())
                                );
  */
+                               var head = this.repo.get_head();
                                string[] far = {};
                                far += "+%s:%s".printf(head.get_shorthand(),head.get_name());