GitRepo.vala
authorAlan Knowles <alan@roojs.com>
Thu, 5 Jul 2018 01:39:39 +0000 (09:39 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 5 Jul 2018 01:39:39 +0000 (09:39 +0800)
GitRepo.vala

index 7cf9538..9002546 100644 (file)
@@ -73,7 +73,7 @@ public class GitRepo : Object
                 }
                 
             } catch (Error e) {
-                GLib.debug("Error: %s\n",e.message);
+                GLib.debug("Error: %s",e.message);
                 break;
             }
          
@@ -328,8 +328,8 @@ public class GitRepo : Object
 
         //this.lastCmd = args.join(" ");
         //if(this.debug) {
-            GLib.debug( "CWD=%s\n",  this.git_working_dir ); 
-            GLib.debug( "cmd: %s\n", string.joinv (" ", args)); 
+            GLib.debug( "CWD=%s",  this.git_working_dir ); 
+            GLib.debug( "cmd: %s", string.joinv (" ", args)); 
         //}
 
         string[]   env = {};
@@ -348,7 +348,7 @@ public class GitRepo : Object
         var sp = new Spawn(cfg);
       
 
-        GLib.debug( "GOT: %s\n" , sp.output);
+        GLib.debug( "GOT: %s" , sp.output);
         // parse output for some commands ?
         return sp.output;
     }
@@ -374,7 +374,7 @@ public class GitRepo : Object
 
         //this.lastCmd = args.join(" ");
         //if(this.debug) {
-            GLib.debug( "CWD=%s\n",  this.git_working_dir ); 
+            GLib.debug( "CWD=%s",  this.git_working_dir ); 
             //print( "cmd: %s\n", string.joinv (" ", args)); 
         //}
 
@@ -401,7 +401,7 @@ public class GitRepo : Object
     
     void git_async_on_complete(int err, string output)
     {
-               GLib.debug("GOT %s\n", output);
+               GLib.debug("GOT %s", output);
                this.git_async_on_callback(this, output);
 //             this.unref();   
        //      sp.unref();