{"thread":{"id":"42307","subject":"[PATCH] git-multimail: update to release 1.3.1","startedAt":"2016-05-13T17:00:41Z","lastAt":"2016-05-13T17:00:41Z","messageCount":1,"participants":["Matthieu Moy"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"286468","messageId":"20160513170041.18696-1-Matthieu.Moy@imag.fr","threadId":"42307","inReplyTo":null,"subject":"[PATCH] git-multimail: update to release 1.3.1","fromName":"Matthieu Moy","fromEmail":"matthieu.moy@imag.fr","sentAt":"2016-05-13T17:00:41Z","receivedAt":"2016-05-13T17:00:41Z","isPatch":true,"sender":{"key":"git@matthieu-moy.fr","avatar":"https://avatars.githubusercontent.com/u/14709?v=4"},"body":"The changes are described in CHANGES.\n\nSigned-off-by: Matthieu Moy <Matthieu.Moy@imag.fr>\n---\n contrib/hooks/multimail/CHANGES          |  8 ++++++++\n contrib/hooks/multimail/README           |  2 +-\n contrib/hooks/multimail/README.Git       |  4 ++--\n contrib/hooks/multimail/git_multimail.py | 10 +++++++++-\n 4 files changed, 20 insertions(+), 4 deletions(-)\n\ndiff --git a/contrib/hooks/multimail/CHANGES b/contrib/hooks/multimail/CHANGES\nindex 53c71b4..100cc7a 100644\n--- a/contrib/hooks/multimail/CHANGES\n+++ b/contrib/hooks/multimail/CHANGES\n@@ -1,3 +1,11 @@\n+Release 1.3.1 (bugfix-only release)\n+===================================\n+\n+* Generate links to commits in combined emails (it was done only for\n+  commit emails in 1.3.0).\n+\n+* Fix broken links on PyPi.\n+\n Release 1.3.0\n =============\n \ndiff --git a/contrib/hooks/multimail/README b/contrib/hooks/multimail/README\nindex 1e04801..0c91d19 100644\n--- a/contrib/hooks/multimail/README\n+++ b/contrib/hooks/multimail/README\n@@ -1,4 +1,4 @@\n-git-multimail 1.3.0\n+git-multimail 1.3.1\n ===================\n \n .. image:: https://travis-ci.org/git-multimail/git-multimail.svg?branch=master\ndiff --git a/contrib/hooks/multimail/README.Git b/contrib/hooks/multimail/README.Git\nindex ee1fa75..1210bde 100644\n--- a/contrib/hooks/multimail/README.Git\n+++ b/contrib/hooks/multimail/README.Git\n@@ -6,10 +6,10 @@ website:\n     https://github.com/git-multimail/git-multimail\n \n The version in this directory was obtained from the upstream project\n-on May 03 2016 and consists of the \"git-multimail\" subdirectory from\n+on May 13 2016 and consists of the \"git-multimail\" subdirectory from\n revision\n \n-    26f3ae9f86aa7f8a054ba89235c4d3879f98b03d refs/tags/1.3.0\n+    3ce5470d4abf7251604cbf64e73a962e1b617f5e refs/tags/1.3.1\n \n Please see the README file in this directory for information about how\n to report bugs or contribute to git-multimail.\ndiff --git a/contrib/hooks/multimail/git_multimail.py b/contrib/hooks/multimail/git_multimail.py\nindex f2c92ae..54ab4a4 100755\n--- a/contrib/hooks/multimail/git_multimail.py\n+++ b/contrib/hooks/multimail/git_multimail.py\n@@ -1,6 +1,6 @@\n #! /usr/bin/env python\n \n-__version__ = '1.3.0'\n+__version__ = '1.3.1'\n \n # Copyright (c) 2015 Matthieu Moy and others\n # Copyright (c) 2012-2014 Michael Haggerty and others\n@@ -1704,6 +1704,14 @@ class BranchChange(ReferenceChange):\n         self.header_template = COMBINED_HEADER_TEMPLATE\n         self.intro_template = COMBINED_INTRO_TEMPLATE\n         self.footer_template = COMBINED_FOOTER_TEMPLATE\n+\n+        def revision_gen_link(base_url):\n+            # revision is used only to generate the body, and\n+            # _content_type is set while generating headers. Get it\n+            # from the BranchChange object.\n+            revision._content_type = self._content_type\n+            return revision.generate_browse_link(base_url)\n+        self.generate_browse_link = revision_gen_link\n         for line in self.generate_email(push, body_filter, values):\n             yield line\n \n-- \n2.8.1.339.g3ad15fd\n"}]}