swh:1:snp:47f1e8bb459169b0feb652a9c3d9cbabd8526d4a
Revision 42b922fcf6f3bd16c4579f2b9e1e52c79096eba2 authored by Shawn O. Pearce on 08 February 2007, 22:13:51 UTC, committed by Shawn O. Pearce on 08 February 2007, 22:13:51 UTC
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 parent 9bccb78
History
Tip revision: 84d06cdc06389ae7c462434cb7b1db0980f63860 authored by Junio C Hamano on 26 March 2021, 21:59:47 UTC
Sync with v2.31.1
Tip revision: 84d06cd
File Mode Size
.gitignore -rw-r--r-- 36 bytes
GIT-VERSION-GEN -rwxr-xr-x 745 bytes
Makefile -rw-r--r-- 1.2 KB
TODO -rw-r--r-- 1.6 KB
git-gui.sh -rwxr-xr-x 139.5 KB

back to top