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

Re: [PATCH] git-mailinfo: use strbuf's instead of fixed buffers

From
Junio C Hamano <gitster@pobox.com>
Date
Jul 13, 2008, 21:37 UTC
Message-ID
<7v4p6tqxch.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<487A49B4.6000407@etek.chalmers.se>
Lukas Sandström <lukass@etek.chalmers.se> writes:
Show 9 quoted lines
> +static void parse_bogus_from(const struct strbuf *line)
>  {
> ...
> +static void handle_from(const struct strbuf *from)
>  {
> ...
>  	if (!at)
> -		return bogus_from(line);
> +		return parse_bogus_from(from);

That's GCCism isn't it? I'll queue this probably for 'pu' with local fixups, so no need to resend for this particular issue, though.

Previous: Lukas Sandström
Message 14 of 14 in “git-mailinfo: Fix getting the subject from the body”
  1. git-mailinfo: Fix getting the subject from the bodyLukas Sandström, Jul 10, 2008
  2. Junio C HamanoJul 12, 2008
  3. Lukas SandströmJul 12, 2008
  4. Don ZickusJul 15, 2008
  5. Lukas SandströmJul 10, 2008
  6. Junio C HamanoJul 10, 2008
  7. Add some useful functions for strbuf manipulation.Lukas Sandström, Jul 10, 2008
  8. git-mailinfo: use strbuf's instead of fixed buffersLukas Sandström, Jul 10, 2008
  9. Junio C HamanoJul 12, 2008
  10. Lukas SandströmJul 13, 2008
  11. Make some strbuf_*() struct strbuf arguments const.Lukas Sandström, Jul 13, 2008
  12. Add some useful functions for strbuf manipulation.Lukas Sandström, Jul 13, 2008
  13. git-mailinfo: use strbuf's instead of fixed buffersLukas Sandström, Jul 13, 2008
  14. Junio C HamanoJul 13, 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.