git-gui: Replace \ with \\ when showing paths.

We already replace \n with \\n so that Tk widgets don't start a new
display line with part of a file path which is just unlucky enough
to contain an LF.  But then its confusing to read a path whose name
actually contains \n as literal characters.  Escaping \ to \\ would
make that case display as \\n, clarifying the output.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
1 file changed
tree: a5c4f7e47377f1a606dcefd6b157e004df95af79
  1. .gitignore
  2. git-gui.sh
  3. GIT-VERSION-GEN
  4. Makefile
  5. TODO