Code

Add option hooks.diffopts to customize change summary in post-receive-email
authorJon Jensen <jon@endpoint.com>
Thu, 4 Aug 2011 03:36:08 +0000 (21:36 -0600)
committerJunio C Hamano <gitster@pobox.com>
Thu, 4 Aug 2011 19:06:49 +0000 (12:06 -0700)
commit0d7c01c991f2a783cc9cd89c050254ca1eb00213
tree73694320442b011dfc35ea9c292ab353cf78b2f4
parent6a319e393b856461bab89ffe332a02e71befee40
Add option hooks.diffopts to customize change summary in post-receive-email

This makes it easy to customize the git diff-tree options, for example
to include -p to include inline diffs.

It defaults to the current options "--stat --summary --find-copies-harder"
and thus is backward-compatible.

Signed-off-by: Jon Jensen <jon@endpoint.com>
Improved-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/hooks/post-receive-email