]> git.madduck.net Git - etc/mutt.git/blobdiff - hooks

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

deal with git mailing list cc policy
[etc/mutt.git] / hooks
diff --git a/hooks b/hooks
index e710d5e14221ed0ed8b32649e2a0931fc04db585..5ffaf656aaa166a4d2994f1b4e627b242049dd9a 100644 (file)
--- a/hooks
+++ b/hooks
@@ -7,4 +7,14 @@ send-hook '~C @packages\.qa\.debian\.org' 'my_hdr X-PTS-Approved: please'
 fcc-hook -request@ ''
 send-hook '~s "Re: confirm" ~t -request@' 'unset crypt_autosign'
 
 fcc-hook -request@ ''
 send-hook '~s "Re: confirm" ~t -request@' 'unset crypt_autosign'
 
+# do not set M-F-T on mails to the git mailing list
+send-hook . 'set followup_to'
+send-hook '~C git@vger\.kernel\.org' 'unset followup_to'
+
+# do a <group-reply> for L when sending to the git mailing list
+# http://marc.info/?l=mutt-users&m=118734866910357&w=2
+message-hook . 'bind pager L list-reply'
+message-hook '~C git@vger\.kernel\.org' 'bind pager L group-reply'
+macro index L '<enter>L'
+
 # vim:ft=muttrc
 # vim:ft=muttrc