Dulwich.io dulwich / fb1477d
Make sure that heads are actually present in repository. Jelmer Vernooń≥ 8 days ago
1 changed file(s) with 3 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
446446 :return: A graph walker object
447447 """
448448 if heads is None:
449 heads = self.refs.as_dict(b'refs/heads').values()
449 heads = [
450 sha for sha in self.refs.as_dict(b'refs/heads').values()
451 if sha in self.object_store]
450452 return ObjectStoreGraphWalker(
451453 heads, self.get_parents, shallow=self.get_shallow())
452454