Code

git-gui: lib/index.tcl: handle files with % in the filename properly
authorGerrit Pape <pape@smarden.org>
Fri, 7 Sep 2007 17:16:59 +0000 (17:16 +0000)
committerShawn O. Pearce <spearce@spearce.org>
Sun, 9 Sep 2007 03:06:26 +0000 (23:06 -0400)
commit0b883ab30c869c4f22a19e49aedc1604d335cd91
tree5baa8459624733fa66238245a79faac3025cb96d
parent047d94d505c9837a60c28e121de65471dadce74b
git-gui: lib/index.tcl: handle files with % in the filename properly

Steps to reproduce the bug:

 $ mkdir repo && cd repo && git init
 Initialized empty Git repository in .git/
 $ touch 'foo%3Fsuite'
 $ git-gui

Then click on the 'foo%3Fsuite' icon to include it in a changeset, a
popup comes with:
'Error: bad field specifier "F"'

Vincent Danjean noticed the problem and also suggested the fix, reported
through
 http://bugs.debian.org/441167

Signed-off-by: Gerrit Pape <pape@smarden.org>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
lib/index.tcl