1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-11 17:32:41 +01:00
phorge-phorge/src/applications/diffusion/query/pathid/base
epriestley b64f252f8b Fix a dirname() edge case in Diffusion
Summary:
dirname('x') returns '.', not '/'; this caused some issues for repositories with
files at the root.

There are some cases in the parsers where I should probably swap this out too
but I'll wait until I'm doing some more rigorous testing since that stuff is a
bit fragile and this fixes an immediate issue.

Test Plan: Ran unit tests. Viewed a file at root level in a test repository.

Reviewers: jungejason, nh, tuomaspelkonen, aran

Reviewed By: nh

CC: aran, nh

Differential Revision: 932
2011-09-15 07:45:15 -07:00
..
__tests__ Fix a dirname() edge case in Diffusion 2011-09-15 07:45:15 -07:00
__init__.php Build an "affected path" index when attaching diffs to revisions 2011-09-15 07:45:14 -07:00
DiffusionPathIDQuery.php Fix a dirname() edge case in Diffusion 2011-09-15 07:45:15 -07:00