Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14356323
D8373.id19902.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D8373.id19902.diff
View Options
Index: src/applications/repository/engine/PhabricatorRepositoryRefEngine.php
===================================================================
--- src/applications/repository/engine/PhabricatorRepositoryRefEngine.php
+++ src/applications/repository/engine/PhabricatorRepositoryRefEngine.php
@@ -304,8 +304,9 @@
$all_commits = queryfx_all(
$conn_w,
'SELECT id, commitIdentifier, importStatus FROM %T
- WHERE commitIdentifier IN (%Ls)',
+ WHERE repositoryID = %d AND commitIdentifier IN (%Ls)',
$commit_table->getTableName(),
+ $repository->getID(),
$identifiers);
$closeable_flag = PhabricatorRepositoryCommit::IMPORTED_CLOSEABLE;
Index: src/applications/repository/storage/PhabricatorRepository.php
===================================================================
--- src/applications/repository/storage/PhabricatorRepository.php
+++ src/applications/repository/storage/PhabricatorRepository.php
@@ -592,6 +592,10 @@
return false;
}
+ if (!$this->shouldTrackBranch($branch)) {
+ return false;
+ }
+
return $this->isBranchInFilter($branch, 'close-commits-filter');
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Dec 20, 8:30 PM (16 h, 41 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6909414
Default Alt Text
D8373.id19902.diff (1 KB)
Attached To
Mode
D8373: Fix two issues with ref discovery
Attached
Detach File
Event Timeline
Log In to Comment