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

Re: [PATCH] post-receive-email: do not call sendmail if no mail was generated

From
Junio C Hamano <gitster@pobox.com>
Date
Sep 8, 2009, 21:49 UTC
Message-ID
<7v4ordw1hg.fsf@alter.siamese.dyndns.org>
In-Reply-To
<20090908205935.GB3858@lars.home.noschinski.de>
Lars Noschinski <lars-2008-2@usenet.noschinski.de> writes:
Show 17 quoted lines
> Actually, there are a two cases in the case statement before, where
> generate_email would return:
>
>     refs/remotes/*,commit)
>         # tracking branch
>         refname_type="tracking branch"
>         short_refname=${refname##refs/remotes/}
>         echo >&2 "*** Push-update of tracking branch, $refname"
>         echo >&2 "***  - no email generated."
>         exit 0
>         ;;
>     *)
>         # Anything else (is there anything else?)
>         echo >&2 "*** Unknown type of update to $refname ($rev_type)"
>         echo >&2 "***  - no email generated"
>         exit 1
>         ;;
Ok, that justifies the existence of the patch.
Previous: Lars NoschinskiNext: Andy Parkins
Message 5 of 6 in “Re: [PATCH] post-receive-email: do not call sendmail if no mail was generated”
  1. Lars NoschinskiSep 8, 2009
  2. post-receive-email: do not call sendmail if no mail was generatedLars Noschinski, Sep 8, 2009
  3. Junio C HamanoSep 8, 2009
  4. Lars NoschinskiSep 8, 2009
  5. Junio C HamanoSep 8, 2009
  6. Andy ParkinsSep 8, 2009

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.