git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH v2 0/2] post-receive-email configurable rev display

From
PHPete Harlan <pgit@pcharlan.com>
Date
Nov 4, 2008, 07:19 UTC
Message-ID
<1225783194-24640-1-git-send-email-pgit@pcharlan.com>
In-Reply-To
<7v7i7kthkc.fsf@gitster.siamese.dyndns.org>

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(-)
Next: Pete Harlan
Message 1 of 4 in “post-receive-email configurable rev display”
  1. 0/2 post-receive-email configurable rev displayPete Harlan, Nov 4, 2008
  2. 1/2 contrib/hooks/post-receive-email: Put rev display in separate functionPete Harlan, Nov 4, 2008
  3. 2/2 contrib/hooks/post-receive-email: Make revision display configurablePete Harlan, Nov 4, 2008
  4. Junio C HamanoNov 4, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.