Robert Haas wrote: > But I > wonder if it would make more sense to include some kind of metadata in > the commit message (or some other property of the commit? does git > support that?) to make it not depend on that.
>From elsewhere in this thread[1], 'The "git cherry-pick" ... "-x" flag adds a note to the commit comment describing the relationship between the commits.' If the commit on the main branch had this message ================= added a line on the main branch ================= The commit on the cherry picked branch will have this comment ================= added a line on the main branch (cherry picked from commit 189ef03b4f4ed5078328f7965c7bfecce318490d) ================= where the big hex string identifies the comment on the other branch. [1] http://archives.postgresql.org/pgsql-hackers/2009-06/msg00191.php -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers