From: Junio C Hamano <gitster@pobox.com>
To: Greg KH <gregkh@linuxfoundation.org>
Cc: Eugeniu Rosca <erosca@de.adit-jv.com>,
git@vger.kernel.org, linux-kernel@vger.kernel.org,
Felipe Balbi <balbi@kernel.org>,
Eugeniu Rosca <roscaeugeniu@gmail.com>
Subject: Re: Signal conflict on merging metadata-differing patches
Date: Tue, 19 Nov 2019 11:04:28 +0900 [thread overview]
Message-ID: <xmqqo8x8zknn.fsf@gitster-ct.c.googlers.com> (raw)
In-Reply-To: <20191118194804.GA662468@kroah.com> (Greg KH's message of "Mon, 18 Nov 2019 20:48:04 +0100")
Greg KH <gregkh@linuxfoundation.org> writes:
>> I don't advocate for "git merge" to fail in the above scenarios. No.
>> I just say that Git could likely detect such scenarios and help people
>> like you not pushing v2 and v5 of the same patch into the main tree.
>
> But what should it do in either of those above situations? Fail the
> merge? No, that's not ok as those different branches were just fine on
> their own and I will never expect them to be rebased/rewritten just for
> something like this. That's crazy.
;-)
I agree that the requested "feature" would make no sense for kernel
maintainers at various levels, as long as they are dealing with
merges among published branches. What's done at the submaintainers'
trees are better treated as "already cast in stone".
It may be a useful feature when one maintains a bag of local/private
branches that haven't been published, though. I however do not know
what its implementation would look like X-<.
prev parent reply other threads:[~2019-11-19 2:04 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-11-18 17:29 Eugeniu Rosca
2019-11-18 17:35 ` Greg KH
2019-11-18 18:45 ` Eugeniu Rosca
2019-11-18 19:48 ` Greg KH
2019-11-19 2:04 ` Junio C Hamano [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=xmqqo8x8zknn.fsf@gitster-ct.c.googlers.com \
--to=gitster@pobox.com \
--cc=balbi@kernel.org \
--cc=erosca@de.adit-jv.com \
--cc=git@vger.kernel.org \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=roscaeugeniu@gmail.com \
/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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®