aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShawn O. Pearce <spearce@spearce.org>2007-09-13 20:08:53 -0400
committerShawn O. Pearce <spearce@spearce.org>2007-09-13 20:08:53 -0400
commit55bad4f096b1f18eec94169c864c39bf0abda1db (patch)
treeb7da57a53d1d57fab44af5adcbffcc8951ad877a
parent042f53c569c92b40e63c6993c8998d2aac22e383 (diff)
downloadgit-55bad4f096b1f18eec94169c864c39bf0abda1db.tar.gz
git-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 cbbce13a7..44689ab63 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]