On Oct 16, 2013 5:51 AM, "Roy Vardi" <roy.va...@gmail.com> wrote:

> Say I have a commit hash which is shared by two branches (I cherry-picked
it from one branch to the other).

The hash is a SHA-1 hash of all the commit metadata: tree, timestamp,
*parent*, etc.

A commit created by cherry-picking will have a different parent (history),
a different tree (assuming some files in one branch are different from the
other branch), and other different metadata.  So it will have a different
hash from the commit or was based on.

You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to