From: Frans Pop Date: Wed, 27 Jan 2010 07:19:39 GMT Subject: Testing if a certain commit is in the current branch Message-ID: <201001270819.39819.elendil@planet.nl> I'm currently using the following command for this: git log --pretty=format:%H | grep -q '^" Problem is that with large repos that can be quite slow. Is there a faster way to do the test? TIA, FJP