RepoStatusPopover.bjs
[gitlive] / RepoStatusPopover.vala
index efe1624..6746345 100644 (file)
@@ -585,16 +585,10 @@ public class RepoStatusPopover : Object
 
             //listeners
             this.el.button_press_event.connect( () => {
-               _this.repo.git({ "commit" , "-a" ,"-m", "Uncommited changes synced" });
-               _this.repo.push();
-               _this.repo.loadStatus();
-               
-                _this.diff_view.el.get_buffer().set_text(_this.repo.git_diff);
-                _this.status_view.el.get_buffer().set_text(_this.repo.git_status);
-                
+            
                _this.el.hide();
-               Clones.singleton().reposStore.load();
-               
+               Clones.singleton().el.hide();
+               MergeBranch.singleton().show(this.ticket, null);   
                 return false;
             });
         }