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

Re: [PATCH] pack: make packed_git_mru global a value instead of a pointer

From
Stefan Beller <sbeller@google.com>
Date
Sep 18, 2017, 17:26 UTC
Message-ID
<CAGZ79kZwt5zM1N1=418FHMLZPjMJV55kKbJoat6GT157dxZObA@mail.gmail.com>
In-Reply-To
<CAP8UFD2d7y9COGj=bRLk_d+F_M=c7nv802AjBf=R9NnJQB7ohA@mail.gmail.com>

On Sun, Sep 17, 2017 at 1:44 PM, Christian Couder <christian.couder@gmail.com> wrote:

Show 18 quoted lines
> On Sun, Sep 17, 2017 at 10:42 PM, Christian Couder
> <christian.couder@gmail.com> wrote:
>> On Sun, Sep 17, 2017 at 10:17 PM, phionah bugosi <bugosip@gmail.com> wrote:
>>> Signed-off-by: phionah bugosi <bugosip@gmail.com>
>>> ---
>>>  builtin/pack-objects.c |  5 +++--
>>>  cache.h                |  7 -------
>>>  list.h                 |  6 ++++++
>>>  packfile.c             | 12 ++++++------
>>>  4 files changed, 15 insertions(+), 15 deletions(-)
>>>
>>> This patch makes packed_git_mru global a value instead of a pointer and
>>> makes use of list.h
>>
>> Please explain _why_ you are doing that (why is the resulting code better).
>
> Also the explanations should be in the commit message, that is above
> your "Signed-off-by: ..." line.

A similar patch exists at origin/jn/per-repo-object-store-fixes^^ (I haven't checked if there are differences and if so which patch is better, all I am noting here, is that there has been work very similar to this one a couple days prior)

Previous: Christian Couder
Message 4 of 4 in “pack: make packed_git_mru global a value instead of a pointer”
  1. pack: make packed_git_mru global a value instead of a pointerphionah bugosi, Sep 17, 2017
  2. Christian CouderSep 17, 2017
  3. Christian CouderSep 17, 2017
  4. Stefan BellerSep 18, 2017

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.