@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Stop calling the undefined `withIsTag` method

Summary: This just cleans up a method call that was missed in D15986. It's been causing fatal errors in one of our workflows.

Test Plan: Grep'd for other instances of `withIsTag` and didn't find any

Reviewers: #blessed_reviewers, epriestley

Reviewed By: #blessed_reviewers, epriestley

Subscribers: epriestley, yelirekim

Differential Revision: https://secure.phabricator.com/D17299

Josh Cox 1b8b64aa d0258a89

+4 -1
+4 -1
src/applications/diffusion/query/lowlevel/DiffusionLowLevelResolveRefsQuery.php
··· 178 178 // repositories with a huge number of tags. 179 179 $tag_refs = id(new DiffusionLowLevelGitRefQuery()) 180 180 ->setRepository($repository) 181 - ->withIsTag(true) 181 + ->withRefTypes( 182 + array( 183 + PhabricatorRepositoryRefCursor::TYPE_TAG, 184 + )) 182 185 ->executeQuery(); 183 186 foreach ($tag_refs as $tag_ref) { 184 187 $tag_map[$tag_ref->getShortName()] = $tag_ref->getCommitIdentifier();