Changeset View
Changeset View
Standalone View
Standalone View
src/repository/remote/ArcanistRemoteRef.php
Show First 20 Lines • Show All 83 Lines • ▼ Show 20 Lines | foreach ($this->getRepositoryRefs() as $repository_ref) { | ||||
return $repository_ref; | return $repository_ref; | ||||
} | } | ||||
} | } | ||||
} | } | ||||
return null; | return null; | ||||
} | } | ||||
public function isPermanentRef(ArcanistMarkerRef $ref) { | |||||
$repository_ref = $this->getPushRepositoryRef(); | |||||
if (!$repository_ref) { | |||||
return false; | |||||
} | |||||
return $repository_ref->isPermanentRef($ref); | |||||
} | |||||
} | } |