@matheusbsbs / matheus-bagliano / commits / 55bad4f096
Fork 0

git-gui: Paper bag fix "Commit->Revert" format arguments

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>

Shawn O. Pearce committed Sep 13, 2007 at 20:08 UTC 55bad4f096b1f18eec94169c864c39bf0abda1db
1 file changed +1 -1
lib/index.tcl
+1 -1
@@ -168,7 +168,7 @@ proc checkout_index {msg pathList after} {
168
169 ui_status [format \
170 "%s... %i/%i files (%.2f%%)" \
171 - $msg
171 + $msg \
172 $update_index_cp \
173 $totalCnt \
174 0.0]