[gnus git] branch master updated: =1= mm-uu: add support for git format-patch

Julien Danjou <[email protected]>
Newsgroups gmane.emacs.gnus.cvs
Message-ID <[email protected]>
       via  cf4e96a01f7e471c0592d734e4aabe3ffc4a1bd7 (commit)
      from  05dbdb660ffa497f5fce23f35c8e45d7a0843d39 (commit)


- Log -----------------------------------------------------------------
commit cf4e96a01f7e471c0592d734e4aabe3ffc4a1bd7
Author: Julien Danjou <[email protected]>
Date:   Tue Feb 1 17:30:01 2011 +0100

    mm-uu: add support for git format-patch
    
    Signed-off-by: Julien Danjou <[email protected]>

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index d626e8f..c3a31de 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,8 @@
 2011-02-01  Julien Danjou  <[email protected]>
 
+	* mm-uu.el (mm-uu-type-alist): Add support for git format-patch diff
+	format.
+
 	* mm-decode.el (mm-inline-media-tests): Do not check for diff-mode it's
 	standard in Emacs nowadays.
 
diff --git a/lisp/mm-uu.el b/lisp/mm-uu.el
index 7f96f44..14b4419 100644
--- a/lisp/mm-uu.el
+++ b/lisp/mm-uu.el
@@ -158,6 +158,12 @@ This can be either \"inline\" or \"attachment\".")
      mm-uu-diff-extract
      nil
      mm-uu-diff-test)
+    (git-format-patch
+     "^diff --git "
+     "^-- "
+     mm-uu-diff-extract
+     nil
+     mm-uu-diff-test)
     (message-marks
      ;; Text enclosed with tags similar to `message-mark-insert-begin' and
      ;; `message-mark-insert-end'.  Don't use those variables to avoid

-----------------------------------------------------------------------
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we listed those
revisions in full, above.

Summary of changes:
 lisp/ChangeLog |    3 +++
 lisp/mm-uu.el  |    6 ++++++
 2 files changed, 9 insertions(+), 0 deletions(-)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnus Project".

The branch, master has been updated


hooks/post-receive
-- 
Gnus Project
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.