summaryrefslogtreecommitdiff
path: root/git-gui/lib/database.tcl
diff options
context:
space:
mode:
Diffstat (limited to 'git-gui/lib/database.tcl')
-rw-r--r--git-gui/lib/database.tcl12
1 files changed, 6 insertions, 6 deletions
diff --git a/git-gui/lib/database.tcl b/git-gui/lib/database.tcl
index 73058a8269..43e4a289bb 100644
--- a/git-gui/lib/database.tcl
+++ b/git-gui/lib/database.tcl
@@ -70,12 +70,12 @@ proc do_stats {} {
proc do_gc {} {
set w [console::new {gc} {Compressing the object database}]
- console::chain {
- {exec {git pack-refs --prune}}
- {exec {git reflog expire --all}}
- {exec {git repack -a -d -l}}
- {exec {git rerere gc}}
- } $w
+ 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 {} {