Page MenuHomePhabricator

D14022.diff
No OneTemporary

D14022.diff

diff --git a/src/applications/owners/query/PhabricatorOwnersPackageQuery.php b/src/applications/owners/query/PhabricatorOwnersPackageQuery.php
--- a/src/applications/owners/query/PhabricatorOwnersPackageQuery.php
+++ b/src/applications/owners/query/PhabricatorOwnersPackageQuery.php
@@ -372,6 +372,11 @@
$include = false;
foreach ($package->getPaths() as $package_path) {
+ if ($package_path->getRepositoryPHID() != $repository_phid) {
+ // If this path is for some other repository, skip it.
+ continue;
+ }
+
$strength = $package_path->getPathMatchStrength($path);
if ($strength > $best_match) {
$best_match = $strength;

File Metadata

Mime Type
text/plain
Expires
Thu, May 9, 8:52 PM (3 w, 14 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6277282
Default Alt Text
D14022.diff (701 B)

Event Timeline