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

Fix diffusion browse queries in git

Summary:
If you try to load a directory in diffusion in a git repo that has a readme
file and you don't include a trailing slash in the path, you get an error
because we don't assemble the full paths of files correctly. This fixes that.

Test Plan: load such a directory in diffusion and see no fatal

Reviewers: epriestley, vrana

Reviewed By: vrana

CC: aran, Korvin

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

+1 -1
+1 -1
src/applications/diffusion/query/browse/DiffusionGitBrowseQuery.php
··· 83 83 } 84 84 } 85 85 86 - $result->setFullPath($path.$name); 86 + $result->setFullPath(rtrim($path, '/').'/'.$name); 87 87 $result->setPath($name); 88 88 $result->setHash($hash); 89 89 $result->setFileType($file_type);