chiark
/
gitweb
/
~ian
/
topgit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f59e4f9
)
deal with single quotes in from/to headers
author
martin f. krafft
<madduck@debian.org>
Tue, 27 Oct 2009 18:43:37 +0000
(19:43 +0100)
committer
martin f. krafft
<madduck@debian.org>
Tue, 27 Oct 2009 18:44:37 +0000
(19:44 +0100)
Signed-off-by: martin f. krafft <madduck@debian.org>
tg-mail.sh
patch
|
blob
|
history
diff --git
a/tg-mail.sh
b/tg-mail.sh
index f5c0cf4313531aa60255e2de1fa2911e08b09ab5..6a008b48a0a05fc59eff40f42f9ee1fd02897aeb 100644
(file)
--- a/
tg-mail.sh
+++ b/
tg-mail.sh
@@
-38,7
+38,7
@@
patchfile="$(mktemp -t tg-mail.XXXXXX)"
$tg patch "$name" >"$patchfile"
-header="$(sed -e '/^$/,$d' "$patchfile")"
+header="$(sed -e '/^$/,$d'
-e "s,','\\\\'',g"
"$patchfile")"