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
Christian Couder <christian.couder@gmail.com>
Date
Sep 17, 2017, 20:44 UTC
Message-ID
<CAP8UFD2d7y9COGj=bRLk_d+F_M=c7nv802AjBf=R9NnJQB7ohA@mail.gmail.com>
In-Reply-To
<CAP8UFD2f3jXkRHb_S_dK7TDfhBwXQ+O63cBn0J7iQQA-5ysVMQ@mail.gmail.com>

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

Show 13 quoted lines
> 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.

Previous: Christian CouderNext: Stefan Beller
Message 3 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.