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

Re: (patch) calloc->xaclloc in read-cache.c

From
Junio C Hamano <junkio@cox.net>
Date
May 9, 2006, 13:26 UTC
Message-ID
<7vpsin5nx8.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<0IZ000KI11YCKL10@mxout4.netvision.net.il>
iler.ml@gmail.com writes:
> How about this.

Looks good, thanks. If you needed some MUA trick that other people might benefit from please feel free to send a patch to Documentation/SubmittingPatches "MUA specific hints" section.

Except "Subject: [PATCH] blah", commit log message (in this case what you would have on the Subject line is to the point and you would not need any extra log message), "Signed-off-by: whom", and perhaps "---\n". Material that you do not want to have in the final commit message, like "How about this" and diffstat if you have one, would come after the "---\n" line.

Your message formatted in the preferred way becomes like this:
	Subject: [PATCH] read-cache.c: use xcalloc() not calloc()
	Elsewhere we use xcalloc(); we should consistently do so.
        Signed-off-by: Yakov Lerner <iler.ml@gmail.com>
	---
        * How about this?
         read-cache.c |    2 +-
         1 files changed, 1 insertions(+), 1 deletions(-)
        --- read-cache.c.000	2006-05-09 15:27:56.000000000 +0000
        +++ read-cache.c	2006-05-09 15:28:10.000000000 +0000
        @@ -552,7 +552,7 @@
                active_nr = ntohl(hdr->hdr_entries);
	...
Previous: iler.ml@gmail.com
Message 2 of 2 in “Re: (patch) calloc->xaclloc in read-cache.c”
  1. iler.ml@gmail.comMay 9, 2006
  2. Junio C HamanoMay 9, 2006

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.