Code

contrib/hooks/post-receive-email: Put rev display in separate function
authorPete Harlan <pgit@pcharlan.com>
Tue, 4 Nov 2008 07:19:53 +0000 (23:19 -0800)
committerJunio C Hamano <gitster@pobox.com>
Tue, 4 Nov 2008 22:43:07 +0000 (14:43 -0800)
commit4471649f44d7a8e4b7b927e43b848bb71b75630d
treebdfa50360b47183439e5150a0653d7ff7b6fc40f
parentb1a46b70b3dcf139c05160e1420e915358b9f947
contrib/hooks/post-receive-email: Put rev display in separate function

The display of a revision in an email-appropriate format is done in
two places with similar code.  In preparation for making that display
more complex, move it into a separate function that handles both cases.

Signed-off-by: Pete Harlan <pgit@pcharlan.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/hooks/post-receive-email