Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2686240
D25718.1734710248.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Size
856 B
Referenced Files
None
Subscribers
None
D25718.1734710248.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D25718: Removed unused loadGitLocalRefs() from PhabricatorRepositoryPullEngine
Attached
Detach File
Event Timeline
Log In to Comment