git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Determining commit reachability
@ 2010-09-05 20:34 Artur Skawina
  2010-09-06  3:17 ` Jeff King
  2010-09-06  6:47 ` Junio C Hamano
  0 siblings, 2 replies; 13+ messages in thread
From: Artur Skawina @ 2010-09-05 20:34 UTC (permalink / raw)
  To: Git List

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

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2010-09-09 22:50 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-05 20:34 Determining commit reachability Artur Skawina
2010-09-06  3:17 ` Jeff King
2010-09-06  5:04   ` Artur Skawina
2010-09-06  6:47 ` Junio C Hamano
2010-09-06 20:45   ` Sverre Rabbelier
2010-09-06 20:53     ` Ævar Arnfjörð Bjarmason
2010-09-06 21:05       ` Sverre Rabbelier
2010-09-06 23:38         ` Junio C Hamano
2010-09-07  5:52           ` [PATCH] Documentation: explain "git branch --with" Jonathan Nieder
2010-09-07 10:51             ` Ævar Arnfjörð Bjarmason
2010-09-09 22:45             ` Junio C Hamano
2010-09-07 13:04           ` Determining commit reachability Nguyen Thai Ngoc Duy
2010-09-07 13:07             ` Nguyen Thai Ngoc Duy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).