git-gui: Bind Tab/Shift-Tab to cycle between panes in blame
[gitweb.git] / lib / database.tcl
index e31466fb50b49bce3673680b2ad7308c249647f8..43e4a289bba9c265d6652ce404d75967a57f7ca3 100644 (file)
@@ -69,21 +69,21 @@ proc do_stats {} {
 }
 
 proc do_gc {} {
-       set w [new_console {gc} {Compressing the object database}]
-       console_chain {
-               {console_exec {git pack-refs --prune}}
-               {console_exec {git reflog expire --all}}
-               {console_exec {git repack -a -d -l}}
-               {console_exec {git rerere gc}}
-       } $w
+       set w [console::new {gc} {Compressing the object database}]
+       console::chain $w {
+               {exec git pack-refs --prune}
+               {exec git reflog expire --all}
+               {exec git repack -a -d -l}
+               {exec git rerere gc}
+       }
 }
 
 proc do_fsck_objects {} {
-       set w [new_console {fsck-objects} \
+       set w [console::new {fsck-objects} \
                {Verifying the object database with fsck-objects}]
        set cmd [list git fsck-objects]
        lappend cmd --full
        lappend cmd --cache
        lappend cmd --strict
-       console_exec $w $cmd console_done
+       console::exec $w $cmd
 }