Determining commit reachability
- From
- Artur Skawina <art.08.09@gmail.com>
- Date
- Sep 5, 2010, 20:34 UTC
- 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