Skip to content

Commit

Permalink
git-gui: Paper bag fix "Commit->Revert" format arguments
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Shawn O. Pearce committed Sep 14, 2007
1 parent 042f53c commit 55bad4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/index.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit 55bad4f

Please sign in to comment.