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