E Eric W. Biederman #
Message details and related content
Junio C Hamano [off-list ref] writes:
Linus Torvalds [off-list ref] writes:quoted
The basic issue is how to sanely keep track of a cover letter when you have a branch that you haven't sent out yet, but will ask somebody to pull. It may still be seeing more testing and development before that pull happens, though. This very much smells of what the "branch description" is all about, but (a) I suspect "git branch --edit-description" is not very well knownTrue.quoted
(b) it works well with "git request-pull", but not so much some other things (like copying it into a signed tag)I think that is just a matter of programming ;-)quoted
(c) it makes an unholy mess of your config file if you actually use it for extensive explanations (branch descriptions _work_ for multi-line messages, but it really was designed as a one-liner thing).Not, really. The "-m" option similar to "commit/tag" is deliberately omitted and use of editor is forced, to encourage better than one-liner information. cf. b7200e83 (branch: teach --edit-description option, 2011-09-20). The unholy mess is true if you are in the habit of editing .git/config in your editor, but that is to be expected if you are storing multi paragraph description as a value of a configuration variable.quoted
(d) it doesn't work across repositories (ie multiple developers or even just a single developer on multiple machines).This is the biggest issue.quoted
IOW, the "branch description" is _kind_ of the right thing, but not really.
I think an empty commit at the top of a development branch sounds like a nice place to store the cover letter for a set of changes. That is a related problem but that is not the problem that inspired the no-op merge commits. I have not seen addressed the workflow that actually inspired this odd thing I am doing. So let me see if I can describe the problem that inspired the merge commit more clearly. Before the merge window for v5.17 I expect to be working on a topic I will loosely call "do_exit_coredumps_and_signals". There are going to be several changesets (something like): "Move coredumps rendezvous into get_signal" "Use the same exit code in all implementations of die" "Use signal short circuit delivery for coredumps" "Use signal short circuit delivery whenever possible" "Replace do_exit with a different helper for use by die" Each of those will consist of 5-10 patches and need to be individually reviewed and depend upon each other. In the roughly 2 months of development time before v5.17 I can expect to get several of those changesets. Each changeset will depend upon the work of the changeset before. As each changeset is reviewed and finalized I expect I will put it on the topic branch with a merge commit containing the description letter. That merge commit will contain a "Link:" tag to the posting on the mailing list so that people can find the full description. When put into the topic branch after review the commits are frozen and ready to be sent to Linus for merging, when the next merge window opens.