git-gui: Paper bag fix "Commit->Revert" format arguments
authorShawn O. Pearce <spearce@spearce.org>
Fri, 14 Sep 2007 00:08:53 +0000 (20:08 -0400)
committerShawn O. Pearce <spearce@spearce.org>
Fri, 14 Sep 2007 00:08:53 +0000 (20:08 -0400)
The recent bug fix to correctly handle filenames with %s (or any
other valid Tcl format specifier) missed a \ on this line and
caused the remaining format arguments to not be supplied when we
updated the status bar. This caused a Tcl error anytime the user
was trying to perform a file revert.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
lib/index.tcl
index cbbce13a77587fc121659fd0c3c76ec261bcb09a..44689ab63b6c4563985b42c0ff20b8427f37cadc 100644 (file)
@@ -168,7 +168,7 @@ proc checkout_index {msg pathList after} {
 
        ui_status [format \
                "%s... %i/%i files (%.2f%%)" \
 
        ui_status [format \
                "%s... %i/%i files (%.2f%%)" \
-               $msg
+               $msg \
                $update_index_cp \
                $totalCnt \
                0.0]
                $update_index_cp \
                $totalCnt \
                0.0]