diff options
author | Junio C Hamano <gitster@pobox.com> | 2008-09-06 16:03:22 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-09-06 16:03:22 -0700 |
commit | 1b118da8bd1878d78589afd9f755b9d52a9579ad (patch) | |
tree | 3bef12e4e07a0be6331a305522ae278a2b8cabe5 /git-gui/po/po2msg.sh | |
parent | f22a432b157c5673a1004934a2e6ba77dd55b356 (diff) | |
parent | ca53c3fdcf69f620331f3822cef36d95b5cf5640 (diff) | |
download | git-1b118da8bd1878d78589afd9f755b9d52a9579ad.tar.gz git-1b118da8bd1878d78589afd9f755b9d52a9579ad.tar.xz |
Merge branch 'maint' of git://repo.or.cz/git-gui into maint
* 'maint' of git://repo.or.cz/git-gui:
git-gui: Fix diff parsing for lines starting with "--" or "++"
git-gui: Fix string escaping in po2msg.sh
git gui: show diffs with a minimum of 1 context line
git-gui: update all remaining translations to French.
git-gui: Update french translation
Diffstat (limited to 'git-gui/po/po2msg.sh')
-rw-r--r-- | git-gui/po/po2msg.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/git-gui/po/po2msg.sh b/git-gui/po/po2msg.sh index b7c4bf3fd..1e9f99252 100644 --- a/git-gui/po/po2msg.sh +++ b/git-gui/po/po2msg.sh @@ -11,8 +11,8 @@ proc u2a {s} { foreach i [split $s ""] { scan $i %c c if {$c<128} { - # escape '[', '\' and ']' - if {$c == 0x5b || $c == 0x5d} { + # escape '[', '\', '$' and ']' + if {$c == 0x5b || $c == 0x5d || $c == 0x24} { append res "\\" } append res $i |