hooks/post-receive-email: use plumbing instead of git log/show
commit1e88f7a277c4cf96a425ffa66e30177b858bc965
authorJonathan Nieder <jrnieder@gmail.com>
Fri, 2 Aug 2013 23:22:08 +0000 (2 16:22 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 5 Aug 2013 17:17:35 +0000 (5 10:17 -0700)
tree516184eba4660932a4a3b7203eee547ac0fcfb39
parentd6cbf2fa7a51229d992c9c8d51eb635eccdd6067
hooks/post-receive-email: use plumbing instead of git log/show

This way the hook doesn't have to keep being tweaked as porcelain
learns new features like color and pagination.

While at it, replace the "git rev-list | git shortlog" idiom with
plain "git shortlog" for simplicity.

Except for depending less on the value of settings like '[log]
abbrevCommit', no change in output intended.

Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/hooks/post-receive-email