]> git.ozlabs.org Git - next-scripts/commitdiff
send_email: Write to a file etc.
authorMichael Ellerman <mpe@ellerman.id.au>
Thu, 11 Jun 2015 22:22:58 +0000 (08:22 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 19 Jun 2015 05:55:02 +0000 (15:55 +1000)
send_email

index de418730b6a0776d2aaa5e6a49d60c9ca44b98ef..470858af53044b5aace67cd8b6ca9291b469a04c 100755 (executable)
@@ -1,5 +1,7 @@
 #!/bin/bash
 
+TARGET=$HOME/linux-next-$$.email
+
 to="$1"
 cc="$2"
 subject="$3"
@@ -10,8 +12,15 @@ To: $to
 Cc: $cc
 Subject: $subject
 
+FIXME: Add owner of second tree to To:
+       Add author(s)/SOB of conflicting commits.
+
 EOF
        cat
-) | claws-mail --compose-from-file -
+) > $TARGET
+
+gvim $TARGET
+
+echo "When you're finished editing you need to send $TARGET"
 
 exit 0