git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git merge heuristic
@ 2013-03-22 18:53 Senthil Natarajan
  2013-03-22 22:33 ` Jeff King
  0 siblings, 1 reply; 2+ messages in thread
From: Senthil Natarajan @ 2013-03-22 18:53 UTC (permalink / raw)
  To: git

Hi all,

I want to learn about how Git compares patches while doing a merge.  For example, if a patch has been cherry-picked from branch A to branch B, and then downstream we do a "git merge" from A to B, how does Git know to skip the cherry-picked patch?  It would have a different SHA-1, so what is the comparison algorithm/heuristic?  What happens if the comment is different, but the actual patch is identical?

I searched around, but couldn't find information on this.  I would appreciate it if someone could point me in the right direction.

Thanks!

-Senthil

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

end of thread, other threads:[~2013-03-22 22:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-22 18:53 git merge heuristic Senthil Natarajan
2013-03-22 22:33 ` Jeff King

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).