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

[PATCH 0/4] builtin-clone: use strbuf

From
Miklos Vajna <vmiklos@frugalware.org>
Date
Nov 21, 2008, 00:44 UTC
Message-ID
<cover.1227227976.git.vmiklos@frugalware.org>
Hi,

These patches replace hand-rolled sprintf/strcpy usage and such with using the strbuf API.

The first patch is unrelated, I just noticed that minor issue during creating the other patches.

Miklos Vajna (4):
  builtin-clone: fix a memory leak in cmd_clone()
  builtin-clone: use strbuf in guess_dir_name()
  builtin-clone: use strbuf in clone_local() and
    copy_or_link_directory()
  builtin_clone: use strbuf in cmd_clone()
 builtin-clone.c |  110 ++++++++++++++++++++++++++++++-------------------------
 1 files changed, 60 insertions(+), 50 deletions(-)
Next: Miklos Vajna
Message 1 of 7 in “builtin-clone: use strbuf”
  1. 0/4 builtin-clone: use strbufMiklos Vajna, Nov 21, 2008
  2. 1/4 builtin-clone: fix a memory leak in cmd_clone()Miklos Vajna, Nov 21, 2008
  3. 2/4 builtin-clone: use strbuf in guess_dir_name()Miklos Vajna, Nov 21, 2008
  4. 3/4 builtin-clone: use strbuf in clone_local() and copy_or_link_directory()Miklos Vajna, Nov 21, 2008
  5. 4/4 builtin_clone: use strbuf in cmd_clone()Miklos Vajna, Nov 21, 2008
  6. Junio C HamanoNov 24, 2008
  7. Miklos VajnaNov 25, 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.