Page MenuHomePhabricator

D8373.diff
No OneTemporary

D8373.diff

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

Mime Type
text/plain
Expires
Sat, Dec 21, 3:38 AM (16 h, 49 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6909414
Default Alt Text
D8373.diff (1 KB)

Event Timeline