@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.

Diffusion - fix browse file bug

Summary: we were calling a member method on a diffusion hash. not sure why. Fixes T4402

Test Plan: clicked about, no fatals and seemed to move sensical backwards in time

Reviewers: epriestley

Reviewed By: epriestley

CC: Korvin, epriestley, aran

Maniphest Tasks: T4402

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

+1 -1
+1 -1
src/applications/diffusion/controller/DiffusionBrowseFileController.php
··· 891 891 $follow = 'created'; 892 892 } else if ($parent) { 893 893 // If we found a parent, jump to it. This is the normal case. 894 - $target_commit = $parent->getCommitIdentifier(); 894 + $target_commit = $parent; 895 895 } else { 896 896 // If there's no parent, this was probably created in the initial commit? 897 897 // And the "was_created" check will fail because we can't identify the