Skip to content

Commit 55bad4f

Browse files
committed
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>
1 parent 042f53c commit 55bad4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/index.tcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ proc checkout_index {msg pathList after} {
168168

169169
ui_status [format \
170170
"%s... %i/%i files (%.2f%%)" \
171-
$msg
171+
$msg \
172172
$update_index_cp \
173173
$totalCnt \
174174
0.0]

0 commit comments

Comments
 (0)