chiark
/
gitweb
/
~ian
/
topgit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
quote $LESS in case it includes spaces
[topgit.git]
/
tg-mail.sh
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")"