handling of old branches
[gitlive] / GitMonitor.vala
index 7866310..543ba58 100644 (file)
@@ -594,10 +594,8 @@ public class GitMonitor : Monitor
                cmd = new GitMonitorQueue(src);
                cmd.action = "commit";
                cmd.message = cmd.vname;
-               this.queue.add(cmd);
-               
-               
-                 
+               this.queue.append_val(cmd);
                 
        }
        public override  void onDeleted(MonitorNamePathDir src) 
@@ -622,10 +620,7 @@ public class GitMonitor : Monitor
                cmd.message = cmd.vname;
                cmd.commit_all = true;
 
-               this.queue.add(cmd);
-               
-                
-               
+               this.queue.append_val(cmd);
  
        }
        public override  void onCreated(MonitorNamePathDir src) {
@@ -681,9 +676,7 @@ public class GitMonitor : Monitor
                cmd = new GitMonitorQueue(src);
                cmd.action = "commit";
                cmd.message = "Attribute changed " + cmd.vname;
-               this.queue.add(cmd);
-               
-        
+               this.queue.append_val(cmd);
        }
  
    public  override void onMoved(MonitorNamePathDir src,MonitorNamePathDir dest)  
@@ -737,14 +730,9 @@ public class GitMonitor : Monitor
                        cmd.message = cmd_d.vname;
                }
                
-               
-               this.queue.add(cmd);
-        // this is where it get's complicated...
-        // as we might be moving across repo's...
-        
-        
-        
+               this.queue.append_val(cmd);
+
+
                 
        }