summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Shawn O. Pearce <spearce@spearce.org>2007-09-13 20:08:53 -0400
committerLibravatar Shawn O. Pearce <spearce@spearce.org>2007-09-13 20:08:53 -0400
commit55bad4f096b1f18eec94169c864c39bf0abda1db (patch)
treeb7da57a53d1d57fab44af5adcbffcc8951ad877a
parentgit-gui: Provide 'uninstall' Makefile target to undo an installation (diff)
downloadtgif-55bad4f096b1f18eec94169c864c39bf0abda1db.tar.xz
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>
-rw-r--r--lib/index.tcl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/index.tcl b/lib/index.tcl
index cbbce13a77..44689ab63b 100644
--- a/lib/index.tcl
+++ b/lib/index.tcl
@@ -168,7 +168,7 @@ proc checkout_index {msg pathList after} {
ui_status [format \
"%s... %i/%i files (%.2f%%)" \
- $msg
+ $msg \
$update_index_cp \
$totalCnt \
0.0]