Page MenuHomePhorge

D25718.1734710248.diff
No OneTemporary

D25718.1734710248.diff

diff --git a/src/applications/repository/engine/PhabricatorRepositoryPullEngine.php b/src/applications/repository/engine/PhabricatorRepositoryPullEngine.php
--- a/src/applications/repository/engine/PhabricatorRepositoryPullEngine.php
+++ b/src/applications/repository/engine/PhabricatorRepositoryPullEngine.php
@@ -602,22 +602,6 @@
return $map;
}
- private function loadGitLocalRefs(PhabricatorRepository $repository) {
- $refs = id(new DiffusionLowLevelGitRefQuery())
- ->setRepository($repository)
- ->execute();
-
- $map = array();
- foreach ($refs as $ref) {
- $fields = $ref->getRawFields();
- $map[idx($fields, 'refname')] = $ref->getCommitIdentifier();
- }
-
- ksort($map);
-
- return $map;
- }
-
private function logRefDifferences(array $remote, array $local) {
$all = $local + $remote;

File Metadata

Mime Type
text/plain
Expires
Fri, Dec 20, 15:57 (21 h, 17 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1019042
Default Alt Text
D25718.1734710248.diff (856 B)

Event Timeline