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

Re: [PATCH 1/3] tree.c: update read_tree_recursive callback to pass strbuf as base

From
Duy Nguyen <pclouds@gmail.com>
Date
Nov 8, 2014, 11:03 UTC
Message-ID
<CACsJy8AHXkZexzOvhUL+ooi1v9fM0NgK_Lb-NYCP2zY+8p06=A@mail.gmail.com>
In-Reply-To
<1415444432-18596-1-git-send-email-pclouds@gmail.com>
On Sat, Nov 8, 2014 at 6:00 PM, Nguyễn Thái Ngọc Duy <pclouds@gmail.com> wrote:
> This allows the callback to use 'base' as a temporary buffer to
> quickly assemble full path "without" extra allocation. The caller has
Errr.. the _callback_ has to. restore...
> to restore it afterwards of course.
-- 
Duy
Previous: Nguyễn Thái Ngọc DuyNext: Eric Sunshine
Message 4 of 8 in “tree.c: update read_tree_recursive callback to pass strbuf as base”
  1. 1/3 tree.c: update read_tree_recursive callback to pass strbuf as baseNguyễn Thái Ngọc Duy, Nov 8, 2014
  2. 2/3 ls-tree: disable negative pathspec because it's not supportedNguyễn Thái Ngọc Duy, Nov 8, 2014
  3. 3/3 ls-tree: remove path filtering logic in show_treeNguyễn Thái Ngọc Duy, Nov 8, 2014
  4. Duy NguyenNov 8, 2014
  5. Eric SunshineNov 9, 2014
  6. 1/3 tree.c: update read_tree_recursive callback to pass strbuf as baseNguyễn Thái Ngọc Duy, Nov 9, 2014
  7. 2/3 ls-tree: disable negative pathspec because it's not supportedNguyễn Thái Ngọc Duy, Nov 9, 2014
  8. 3/3 ls-tree: remove path filtering logic in show_treeNguyễn Thái Ngọc Duy, Nov 9, 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.