From: Artur Skawina Date: Sun, 05 Sep 2010 20:34:11 GMT Subject: Determining commit reachability Message-ID: <4C83FEC3.3040101@gmail.com> Given commit C, refs (branches) R, S and T what would be the best way to test whether 'C' is reachable from any of the heads? Checking if `git rev-list -n1 O ^R ^S ^T` produces any output is what i came up with; is there a better (ie faster) solution? artur