summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShawn O. Pearce <spearce@spearce.org>2007-09-14 00:08:53 (GMT)
committerShawn O. Pearce <spearce@spearce.org>2007-09-14 00:08:53 (GMT)
commit55bad4f096b1f18eec94169c864c39bf0abda1db (patch)
treeb7da57a53d1d57fab44af5adcbffcc8951ad877a
parent042f53c569c92b40e63c6993c8998d2aac22e383 (diff)
downloadgit-55bad4f096b1f18eec94169c864c39bf0abda1db.zip
git-55bad4f096b1f18eec94169c864c39bf0abda1db.tar.gz
git-55bad4f096b1f18eec94169c864c39bf0abda1db.tar.bz2
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 cbbce13..44689ab 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]