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

Re: [PATCH] Makefile: fix up lib directory move

From
Junio C Hamano <gitster@pobox.com>
Date
Jul 12, 2026, 14:02 UTC
Message-ID
<xmqqbjcc5mro.fsf@gitster.g>
In-Reply-To
<ef422523-1c50-ec79-e89a-f43f02ba1ca7@gmx.de>
Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:
Show 11 quoted lines
> Hi Ramsay,
>
> On Fri, 10 Jul 2026, Ramsay Jones wrote:
>
>> Commit 9759608622 ("Move libgit.a sources into separate "lib/" directory",
>
> It's not your fault, but this commit is no longer reachable from any
> official branch.
>
> Maybe a more stable way to refer to this right now would be to name the
> topic: `ps/libgit-in-subdir`.
Yes, citing the object name alone would have been useless.

On the other hand, it is good to have it as a sanity-checking clue. If or when the patch does not apply cleanly, we can tell that the fix-up was written based on an older iteration. The "reference" format used here carries more information than the topic branch name alone, and with the commit title, we can run

    $ git show 'origin/seen^{/^Move libgit\.a sources into}'
when 9759608622 cannot be found.
Show 10 quoted lines
>> 2026-06-22) moved some files into a lib directory, but forgot to update
>> a sparse dependency in the Makefile, resulting in a sparse error:
>> 
>>       SP lib/pack-revindex.c
>>   lib/pack-revindex.c:78:17: error: memset with byte count of 262144
>>   make: *** [Makefile:3446: lib/pack-revindex.sp] Error 1
>> 
>> Add the missing 'lib/' prefix to the pack-revindex.sp path.
>
> That reasoning and that patch make sense to me. Thank you!
Yes, indeed.  It is queued on top of the topic.
Thanks.
Previous: Ramsay JonesNext: Patrick Steinhardt
Message 4 of 5 in “Makefile: fix up lib directory move”
  1. Makefile: fix up lib directory moveRamsay Jones, Jul 10, 2026
  2. Johannes SchindelinJul 12, 2026
  3. Ramsay JonesJul 12, 2026
  4. Junio C HamanoJul 12, 2026
  5. Patrick SteinhardtJul 13, 2026

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.