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

Re: What's cooking in git.git (Aug 2025, #02; Mon, 4)

From
Junio C Hamano <gitster@pobox.com>
Date
Aug 7, 2025, 15:22 UTC
Message-ID
<xmqqo6srrwb4.fsf@gitster.g>
In-Reply-To
<aJQu5VJ_w1Vq_VYW@pks.im>
Patrick Steinhardt <ps@pks.im> writes:
Show 24 quoted lines
> On Wed, Aug 06, 2025 at 02:18:34PM -0700, Junio C Hamano wrote:
>> SZEDER Gábor <szeder.dev@gmail.com> writes:
>> 
>> > Before merging please make sure that the topic can be built on its
>> > own.  Currently all of its commits, including the merge commit the
>> > topic is based on, fail to build because:
>> >
>> >   $ git log --oneline -1
>> >   fc33fe7eff (HEAD) Merge branch 'ps/reflog-migrate-fixes' into ps/remote-rename-fix
>> >   $ make
>> >       CC builtin/reflog.o
>> >   builtin/reflog.c:7:10: fatal error: object-store.h: No such file or directory
>> >       7 | #include "object-store.h"
>> >         |          ^~~~~~~~~~~~~~~~
>> >   compilation terminated.
>> >   make: *** [Makefile:2817: builtin/reflog.o] Error 1
>> 
>> The joy of having too many moving parts X-<.
>> 
>> Thanks for catching.
>
> I guess what I learned is that I'll refrain from building on top of a
> topic that hasn't hit "next" yet from now on. I knew it was a going to
> become a bit painful, but I guess it's even more so than I expected.

As long as the base topic is reasonably stable, having to recreate the base merge(s---there have been cases where a topic depended on multiple in-flight topics) and rebasing the existing dependign topic on top of the updated base was not _too_ painful. In addition to rerere, I use machinery to remember and reuse necessary semantic conflict resolution that was done once (which is used to rebuild 'seen' on top of 'master' a few times every day).

In this particular case, it was me being absent-minded without realizing the base merge may need merge fixes until SZEDER pointed out.

Thanks.
Previous: Patrick Steinhardt
Message 7 of 7 in “What's cooking in git.git (Aug 2025, #02; Mon, 4)”
  1. Junio C HamanoAug 4, 2025
  2. Toon ClaesAug 5, 2025
  3. Junio C HamanoAug 5, 2025
  4. SZEDER GáborAug 6, 2025
  5. Junio C HamanoAug 6, 2025
  6. Patrick SteinhardtAug 7, 2025
  7. Junio C HamanoAug 7, 2025

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.