]> mj.ucw.cz Git - git-tools.git/commitdiff
Update2: Avoid Mutt recording messages in ~/sent
authorMartin Mares <mj@ucw.cz>
Thu, 9 Apr 2015 14:23:15 +0000 (16:23 +0200)
committerMartin Mares <mj@ucw.cz>
Thu, 9 Apr 2015 14:23:15 +0000 (16:23 +0200)
Using ~/sent is a strange default setting used when there is no
configuration file. Let us override it.

update2

diff --git a/update2 b/update2
index ef1ee59549cafc6634a0794d3e4e009f1a1bd28e..55e8a8e1c682e8bdf9c8e5389021978e72947bfd 100755 (executable)
--- a/update2
+++ b/update2
@@ -251,6 +251,7 @@ sub update_ref($$$)
                        '-x',
                        '-e', 'set charset="utf-8"',
                        '-e', 'set send_charset="us-ascii:iso-8859-2:utf-8"',
+                       '-e', 'set record=',
                        '-s', $headers->{'Subject'},
                );
                delete $headers->{'Subject'};