[PATCH v2 0/2] post-receive-email configurable rev display
From: Pete Harlan <hidden>
Date: 2016-06-15 22:45:36
This is the second version of the user-configurable revision display
patch. The first version decreased the efficiency of the default
case, while this avoids it thanks to a suggestion by Junio.
The first version of this patch also failed to customize the display
of revisions included in newly-created branches; this version displays
those revisions in the same manner as for updated branches.
The two places (new vs. updated branches) where the original code
displayed revisions used similar code. The first patch in this series
factors that out to a separate routine that handles both cases, in
order to avoid duplicating the code introduced in the second patch.
Pete Harlan (2):
contrib/hooks/post-receive-email: Put rev display in separate
function
contrib/hooks/post-receive-email: Make revision display configurable
contrib/hooks/post-receive-email | 57 ++++++++++++++++++++++++++++++++------
1 files changed, 48 insertions(+), 9 deletions(-)