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

base-commit when prerequisite-patch-id is specified

From
Konstantin Ryabitsev <konstantin@linuxfoundation.org>
Date
Mar 28, 2024, 21:34 UTC
Message-ID
<20240328-vehement-fine-tarantula-2b864a@lemur>
Hello:

I'm working on automatically supporting dependencies with b4, and I'm curious if "base-commit" should be used to indicate where to start applying dependencies, or if that's purely for the patch series itself.

E.g.:
    base-commit: [commit-ish]
    prerequisite-patch-id: abcd...1234
    prerequisite-patch-id: cdef...3456
In this situation, does base-commit mean:
1. where to apply abcd...1234
2. the sha we should find when we apply both prerequisite patches

In theory, #2 makes no sense, because we don't know where to apply prerequisite-patch-id's and therefore can't reasonably arrive at whatever is specified as "base-commit".

I expect the answer is "it's whatever you think it should be," because prerequisite-patch-id's aren't really widely used, but I'll be happy to learn that there's an established practice.

-K
Next: Junio C Hamano
Message 1 of 2 in “base-commit when prerequisite-patch-id is specified”
  1. Konstantin RyabitsevMar 28, 2024
  2. Junio C HamanoMar 29, 2024

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.