<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/contrib/hooks, branch v2.7.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.7.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.7.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2015-10-12T17:38:33Z</updated>
<entry>
<title>git-multimail: update to release 1.2.0</title>
<updated>2015-10-12T17:38:33Z</updated>
<author>
<name>Matthieu Moy</name>
<email>Matthieu.Moy@imag.fr</email>
</author>
<published>2015-10-11T18:43:20Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=4b1fd356b8f8ca464203174a47ab5fa6a5cbc26b'/>
<id>urn:sha1:4b1fd356b8f8ca464203174a47ab5fa6a5cbc26b</id>
<content type='text'>
The changes are described in CHANGES.

Contributions-by: Matthieu Moy &lt;Matthieu.Moy@imag.fr&gt;
Contributions-by: Elijah Newren &lt;newren@palantir.com&gt;
Contributions-by: Edward d'Auvergne &lt;edward@nmr-relax.com&gt;
Contributions-by: Vadim Zeitlin &lt;vadim@zeitlins.org&gt;
Contributions-by: Paul Sokolovsky &lt;paul.sokolovsky@linaro.org&gt;
Contributions-by: Michael Haggerty &lt;mhagger@alum.mit.edu&gt;
Contributions-by: Elijah Newren &lt;newren@gmail.com&gt;
Contributions-by: Richard Hansen &lt;rhansen@rhansen.org&gt;
Contributions-by: Job Snijders &lt;job@instituut.net&gt;
Signed-off-by: Matthieu Moy &lt;Matthieu.Moy@imag.fr&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>git-multimail: update to release 1.1.1</title>
<updated>2015-07-06T16:43:17Z</updated>
<author>
<name>Matthieu Moy</name>
<email>Matthieu.Moy@imag.fr</email>
</author>
<published>2015-07-05T11:10:17Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=5bdb7a78adf2a2656a1915e6fa656aecb45c1fc3'/>
<id>urn:sha1:5bdb7a78adf2a2656a1915e6fa656aecb45c1fc3</id>
<content type='text'>
The only change is a bugfix: the SMTP mailer was not working with
Python 2.4.

Signed-off-by: Matthieu Moy &lt;Matthieu.Moy@imag.fr&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'pa/auto-gc-mac-osx'</title>
<updated>2015-06-24T19:21:58Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2015-06-24T19:21:58Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=3072ec397c06af6abb693287928e39f3b8f3ae4d'/>
<id>urn:sha1:3072ec397c06af6abb693287928e39f3b8f3ae4d</id>
<content type='text'>
Recent Mac OS X updates breaks the logic to detect that the machine
is on the AC power in the sample pre-auto-gc script.

* pa/auto-gc-mac-osx:
  hooks/pre-auto-gc: adjust power checking for newer OS X
</content>
</entry>
<entry>
<title>git-multimail: update to release 1.1.0</title>
<updated>2015-06-18T17:03:52Z</updated>
<author>
<name>Matthieu Moy</name>
<email>Matthieu.Moy@imag.fr</email>
</author>
<published>2015-06-18T08:46:04Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=5b1d901c0173b41010856e30776c92d02987ea25'/>
<id>urn:sha1:5b1d901c0173b41010856e30776c92d02987ea25</id>
<content type='text'>
The changes are described in CHANGES.

Contributions-by: Matthieu Moy &lt;Matthieu.Moy@imag.fr&gt;
Contributions-by: Richard Hansen &lt;rhansen@rhansen.org&gt;
Contributions-by: Michael Haggerty &lt;mhagger@alum.mit.edu&gt;
Contributions-by: Elijah Newren &lt;newren@gmail.com&gt;
Contributions-by: Luke Mewburn &lt;luke@mewburn.net&gt;
Contributions-by: Dave Boutcher &lt;daveboutcher@gmail.com&gt;
Contributions-by: Azat Khuzhin &lt;a3at.mail@gmail.com&gt;
Contributions-by: Sebastian Schuberth &lt;sschuberth@gmail.com&gt;
Contributions-by: Mikko Johannes Koivunalho &lt;mikko.koivunalho@iki.fi&gt;
Contributions-by: Elijah Newren &lt;newren@palantir.com&gt;
Contributions-by: Benoît Ryder &lt;benoit@ryder.fr&gt;
Signed-off-by: Matthieu Moy &lt;Matthieu.Moy@imag.fr&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>hooks/pre-auto-gc: adjust power checking for newer OS X</title>
<updated>2015-06-12T22:33:39Z</updated>
<author>
<name>Panagiotis Astithas</name>
<email>pastith@gmail.com</email>
</author>
<published>2015-06-11T14:37:25Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=c54c7b376d73d2b3780475b18a6039721019aaba'/>
<id>urn:sha1:c54c7b376d73d2b3780475b18a6039721019aaba</id>
<content type='text'>
The output of "pmset -g batt" changed at some point from "Currently
drawing from 'AC Power'" to the slightly different "Now drawing from
'AC Power'". Starting the match from "drawing" makes the check work
in both old and new versions of OS X.

Signed-off-by: Panagiotis Astithas &lt;pastith@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Update git-multimail to version 1.0.2</title>
<updated>2015-04-28T18:37:09Z</updated>
<author>
<name>Michael Haggerty</name>
<email>mhagger@alum.mit.edu</email>
</author>
<published>2015-04-27T11:17:25Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=36bf6d46972df55ffb1c53c88d1b0e463f522116'/>
<id>urn:sha1:36bf6d46972df55ffb1c53c88d1b0e463f522116</id>
<content type='text'>
The only changes are to the README files, most notably the list of
maintainers and the project URL.

Signed-off-by: Michael Haggerty &lt;mhagger@alum.mit.edu&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>git-multimail: update to version 1.0.0</title>
<updated>2014-04-07T18:57:11Z</updated>
<author>
<name>Michael Haggerty</name>
<email>mhagger@alum.mit.edu</email>
</author>
<published>2014-04-07T15:20:40Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=b513f71f6043c05c3918e670b332dfa7ec6b2661'/>
<id>urn:sha1:b513f71f6043c05c3918e670b332dfa7ec6b2661</id>
<content type='text'>
This commit contains the squashed changes from the upstream
git-multimail repository since the last code drop.  Highlights:

* Fix encoding of non-ASCII email addresses in email headers.

* Fix backwards-compatibility bugs for older Python 2.x versions.

* Fix a backwards-compatibility bug for Git 1.7.1.

* Add an option commitDiffOpts to customize logs for revisions.

* Pass "-oi" to sendmail by default to prevent premature
  termination
  on a line containing only ".".

* Stagger email "Date:" values in an attempt to help mail clients
  thread the emails in the right order.

* If a mailing list setting is missing, just skip sending the
  corresponding email (with a warning) instead of failing.

* Add a X-Git-Host header that can be used for email filtering.

* Allow the sender's fully-qualified domain name to be configured.

* Minor documentation improvements.

* Add a CHANGES file.

Contributions-by: Raphaël Hertzog &lt;hertzog@debian.org&gt;
Contributions-by: Eric Berberich &lt;eric.berberich@gmail.com&gt;
Contributions-by: Michiel Holtkamp &lt;git@elfstone.nl&gt;
Contributions-by: Malte Swart &lt;mswart@devtation.de&gt;
Signed-off-by: Michael Haggerty &lt;mhagger@alum.mit.edu&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>mark contributed hooks executable</title>
<updated>2013-11-25T23:01:22Z</updated>
<author>
<name>Jonathan Nieder</name>
<email>jrnieder@gmail.com</email>
</author>
<published>2013-11-25T20:55:30Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=2e820ba9bc4f565a5cea5d3f055f6c4595734700'/>
<id>urn:sha1:2e820ba9bc4f565a5cea5d3f055f6c4595734700</id>
<content type='text'>
The docs in contrib/hooks/pre-auto-gc-battery suggest:

	For example, if the hook is stored in
	/usr/share/git-core/contrib/hooks/pre-auto-gc-battery:

	chmod a+x pre-auto-gc-battery
	cd /path/to/your/repository.git
	ln -sf /usr/share/git-core/contrib/hooks/pre-auto-gc-battery \
	     hooks/pre-auto-gc

Unfortunately on multi-user systems most users do not have write
access to /usr.  Better to mark the sample hooks executable in
the first place so users do not have to tweak their permissions to
use them by symlinking into .git/hooks/.

Reported-by: Olivier Berger &lt;olivier.berger@it-sudparis.eu&gt;
Signed-off-by: Jonathan Nieder &lt;jrnieder@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>hooks/post-receive-email: set declared encoding to utf-8</title>
<updated>2013-08-05T17:17:38Z</updated>
<author>
<name>Gerrit Pape</name>
<email>pape@smarden.org</email>
</author>
<published>2008-12-11T20:27:21Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=53a7296e7ebab82d23983fd5506a2bf5ee5d2d0c'/>
<id>urn:sha1:53a7296e7ebab82d23983fd5506a2bf5ee5d2d0c</id>
<content type='text'>
Some email clients (e.g., claws-mail) display the message body
incorrectly when the charset is not defined explicitly in a
Content-Type header.  "git log" generates logs in UTF-8 encoding by
default, so add a Content-Type header declaring that encoding to
the emails the post-receive-email example hook sends.

[jn: also setting the Content-Transfer-Encoding so MTAs know what
 kind of mangling might be needed when sending to a non 8-bit clean
 SMTP host]

Requested-by: Alexander Gerasiov &lt;gq@debian.org&gt;
Signed-off-by: Jonathan Nieder &lt;jrnieder@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>hooks/post-receive-email: force log messages in UTF-8</title>
<updated>2013-08-05T17:17:36Z</updated>
<author>
<name>Jonathan Nieder</name>
<email>jrnieder@gmail.com</email>
</author>
<published>2013-08-02T23:23:38Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=3109bdb0d157afbd01c412d6f3fb1c86d8b7adde'/>
<id>urn:sha1:3109bdb0d157afbd01c412d6f3fb1c86d8b7adde</id>
<content type='text'>
Git commands write commit messages in UTF-8 by default, but that
default can be overridden by the [i18n] commitEncoding and
logOutputEncoding settings.  With such a setting, the emails written
by the post-receive-email hook use a mixture of encodings:

 1. Log messages use the configured log output encoding, which is
    meant to be whatever encoding works best with local terminals
    (and does not have much to do with what encoding should be used
    for email)

 2. Filenames are left as is: on Linux, usually UTF-8, and in the Mingw
    port (which uses Unicode filesystem APIs), always UTF-8

 3. The "This is an automated email" preface uses a project description
    from .git/description, which is typically in UTF-8 to support
    gitweb.

So (1) is configurable, and (2) and (3) are unconfigurable and
typically UTF-8.  Override the log output encoding to always use UTF-8
when writing the email to get the best chance of a comprehensible
single-encoding email.

Signed-off-by: Jonathan Nieder &lt;jrnieder@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
