diff --git a/src/repository/marker/ArcanistRepositoryMarkerQuery.php b/src/repository/marker/ArcanistRepositoryMarkerQuery.php index e72ea78f..74e1cdf8 100644 --- a/src/repository/marker/ArcanistRepositoryMarkerQuery.php +++ b/src/repository/marker/ArcanistRepositoryMarkerQuery.php @@ -64,8 +64,10 @@ abstract class ArcanistRepositoryMarkerQuery $marker->attachWorkingCopyStateRef($state_ref); $hash = $marker->getCommitHash(); - $hash = $api->getDisplayHash($hash); - $marker->setDisplayHash($hash); + if ($hash !== null) { + $hash = $api->getDisplayHash($hash); + $marker->setDisplayHash($hash); + } } $types = $this->markerTypes;