Re: [PATCH] send-pack.c: mark a file-local function static
- From
Duy Nguyen <pclouds@gmail.com>
- Date
- Dec 13, 2013, 00:58 UTC
- Message-ID
- <CACsJy8DnVUc2xQGD4hr2tuFhaGj4kuc=63xxmmUwq1bkFtztOw@mail.gmail.com>
- In-Reply-To
- <52AA43AA.9030703@ramsay1.demon.co.uk>
On Fri, Dec 13, 2013 at 6:15 AM, Ramsay Jones <ramsay@ramsay1.demon.co.uk> wrote:
> BTW, I have not been following these patches, but I noticed that the > 'remove_nonexistent_ours_in_pack()' function has no callers. (There are > two commented out callers - but they seem to have *always* been commented > out ;-) ). So, step 5 is no longer required? :-D
It's more of an optimization than a requirement, to avoid expensive calculation later. Uncommenting is possible but I need to pass the pack file name around a bit.
-- Duy