Skip to content

Commit 17130a7

Browse files
moygitster
authored andcommitted
git-multimail: update to release 1.3.1
The changes are described in CHANGES. Signed-off-by: Matthieu Moy <Matthieu.Moy@imag.fr> Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent 5fe494c commit 17130a7

File tree

4 files changed

+20
-4
lines changed

4 files changed

+20
-4
lines changed

contrib/hooks/multimail/CHANGES

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
Release 1.3.1 (bugfix-only release)
2+
===================================
3+
4+
* Generate links to commits in combined emails (it was done only for
5+
commit emails in 1.3.0).
6+
7+
* Fix broken links on PyPi.
8+
19
Release 1.3.0
210
=============
311

contrib/hooks/multimail/README

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
git-multimail 1.3.0
1+
git-multimail 1.3.1
22
===================
33

44
.. image:: https://travis-ci.org/git-multimail/git-multimail.svg?branch=master

contrib/hooks/multimail/README.Git

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ website:
66
https://github.com/git-multimail/git-multimail
77

88
The version in this directory was obtained from the upstream project
9-
on May 03 2016 and consists of the "git-multimail" subdirectory from
9+
on May 13 2016 and consists of the "git-multimail" subdirectory from
1010
revision
1111

12-
26f3ae9f86aa7f8a054ba89235c4d3879f98b03d refs/tags/1.3.0
12+
3ce5470d4abf7251604cbf64e73a962e1b617f5e refs/tags/1.3.1
1313

1414
Please see the README file in this directory for information about how
1515
to report bugs or contribute to git-multimail.

contrib/hooks/multimail/git_multimail.py

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#! /usr/bin/env python
22

3-
__version__ = '1.3.0'
3+
__version__ = '1.3.1'
44

55
# Copyright (c) 2015 Matthieu Moy and others
66
# Copyright (c) 2012-2014 Michael Haggerty and others
@@ -1704,6 +1704,14 @@ def generate_combined_email(self, push, revision, body_filter=None, extra_header
17041704
self.header_template = COMBINED_HEADER_TEMPLATE
17051705
self.intro_template = COMBINED_INTRO_TEMPLATE
17061706
self.footer_template = COMBINED_FOOTER_TEMPLATE
1707+
1708+
def revision_gen_link(base_url):
1709+
# revision is used only to generate the body, and
1710+
# _content_type is set while generating headers. Get it
1711+
# from the BranchChange object.
1712+
revision._content_type = self._content_type
1713+
return revision.generate_browse_link(base_url)
1714+
self.generate_browse_link = revision_gen_link
17071715
for line in self.generate_email(push, body_filter, values):
17081716
yield line
17091717

0 commit comments

Comments
 (0)