Page MenuHomePhabricator

D21364.diff
No OneTemporary

D21364.diff

diff --git a/src/repository/marker/ArcanistRepositoryMarkerQuery.php b/src/repository/marker/ArcanistRepositoryMarkerQuery.php
--- a/src/repository/marker/ArcanistRepositoryMarkerQuery.php
+++ b/src/repository/marker/ArcanistRepositoryMarkerQuery.php
@@ -104,21 +104,6 @@
}
}
- return $this->sortMarkers($markers);
- }
-
- private function sortMarkers(array $markers) {
- // Sort the list in natural order. If we apply a stable sort later,
- // markers will sort in "feature1", "feature2", etc., order if they
- // don't otherwise have a unique position.
-
- // This can improve behavior if two branches were updated at the same
- // time, as is common when cascading rebases after changes land.
-
- $map = mpull($markers, 'getName');
- natcasesort($map);
- $markers = array_select_keys($markers, array_keys($map));
-
return $markers;
}

File Metadata

Mime Type
text/plain
Expires
Wed, Apr 9, 7:58 PM (6 d, 9 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7372908
Default Alt Text
D21364.diff (891 B)

Event Timeline