From: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
To: git@vger.kernel.org
Subject: base-commit when prerequisite-patch-id is specified
Date: Thu, 28 Mar 2024 17:34:41 -0400 [thread overview]
Message-ID: <20240328-vehement-fine-tarantula-2b864a@lemur> (raw)
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 reply other threads:[~2024-03-28 21:34 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-28 21:34 Konstantin Ryabitsev [this message]
2024-03-29 0:06 ` base-commit when prerequisite-patch-id is specified Junio C Hamano
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: http://vger.kernel.org/majordomo-info.html
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240328-vehement-fine-tarantula-2b864a@lemur \
--to=konstantin@linuxfoundation.org \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).