Skip to content

Instantly share code, notes, and snippets.

View nishimura's full-sized avatar

Satoshi Nishimura nishimura

View GitHub Profile
@nishimura
nishimura / post-receive-email.php
Created March 1, 2010 09:18
post-commit-email for Japanese Encoding.
<?php
$from = `git config hooks.envelopesender`;
$to = `git config hooks.mailinglist`;
$emailprefix = `git config hooks.emailprefix`;
if (!$emailprefix)
$emailprefix = '[SCM]';
if (!isset($argc) || $argc < 3){