Find out if a particular commit exists on a git branch

git, git-svn

Solution

Try "`git cherry`" or "`git patch-id`".

Problem

I see a commit in `foo` branch's log. I'd like to determine if that commit has been cherry-picked onto branch `bar`. If I were in a pure git environment I think the hashes would be the same, but the branch in question was pulled in using git-svn.

Original source