author | Pete Harlan <pgit@pcharlan.com> | |
Tue, 4 Nov 2008 07:19:53 +0000 (23:19 -0800) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 4 Nov 2008 22:43:07 +0000 (14:43 -0800) | ||
commit | 4471649f44d7a8e4b7b927e43b848bb71b75630d | |
tree | bdfa50360b47183439e5150a0653d7ff7b6fc40f | tree | snapshot |
parent | b1a46b70b3dcf139c05160e1420e915358b9f947 | commit | diff |
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>
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 | diff | blob | history |