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

Re: [PATCH] strbuf: use strbuf_addstr() for adding C strings

From
Jonathan Nieder <jrnieder@gmail.com>
Date
Jul 16, 2014, 23:41 UTC
Message-ID
<20140716234151.GN12427@google.com>
In-Reply-To
<53C70CEA.8000000@web.de>
René Scharfe wrote:
> Avoid code duplication and let strbuf_addstr() call strlen() for us.
Nice.
Show 6 quoted lines
> Signed-off-by: Rene Scharfe <l.s.r@web.de>
> ---
>  builtin/commit.c |  2 +-
>  diff.c           | 12 ++++++------
>  path.c           |  6 +++---
>  3 files changed, 10 insertions(+), 10 deletions(-)
Reviewed-by: Jonathan Nieder <jrnieder@gmail.com>
Previous: René Scharfe
Message 2 of 2 in “strbuf: use strbuf_addstr() for adding C strings”
  1. strbuf: use strbuf_addstr() for adding C stringsRené Scharfe, Jul 16, 2014
  2. Jonathan NiederJul 16, 2014

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.