chiark
/
gitweb
/
~ian
/
topgit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
provide a global temporary directory
[topgit.git]
/
tg-mail.sh
diff --git
a/tg-mail.sh
b/tg-mail.sh
index 8167adecb7421d6750205bd9304243f587a2e4d4..dd4a95a74ad9e47ed39dbff05f5f5d53993981e7 100644
(file)
--- a/
tg-mail.sh
+++ b/
tg-mail.sh
@@
-34,7
+34,7
@@
if [ -n "$in_reply_to" ]; then
fi
-patchfile="$(
mktemp -t tg-mail.XXXXXX
)"
+patchfile="$(
get_temp tg-mail
)"
$tg patch "$name" >"$patchfile"
@@
-54,6
+54,4
@@
people=
# NOTE: git-send-email handles cc itself
eval git send-email $send_email_args "$people" "$patchfile"
-rm "$patchfile"
-
# vim:noet