git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* What to do with patches that should go upstream?
@ 2010-01-13  9:51 Jeenu V
  2010-01-13 10:13 ` Junio C Hamano
  0 siblings, 1 reply; 3+ messages in thread
From: Jeenu V @ 2010-01-13  9:51 UTC (permalink / raw)
  To: git

Hi,

I'd like to know what's the best practice to follow when one discovers
that a change that's been applied on the current branch, has to
actually go upstream. For example, in the following figure,

     A
-O---O-+
        \        A'  B'
-O---O---O---O---O---O---O W
            /
  -O----O--+

W is the current working branch. But there are commits A' and B' which
should go upstream. What I wanted to know is the next step from here.

1) Do I switch to A and B, and then cherry pick the commits A' and B'?
2) If I send the patch out to include in upstream, wouldn't it
conflict the next time I happen to merge from A or B?

Please suggest.

-- 
:J

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-01-13 10:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-13  9:51 What to do with patches that should go upstream? Jeenu V
2010-01-13 10:13 ` Junio C Hamano
2010-01-13 10:34   ` Jeenu V

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 NNTP newsgroup(s).