HomePhorge

Fix an issue with browsing repositories that have README, etc

Description

Fix an issue with browsing repositories that have README, etc

Summary: D3533 changed the path for files at root from, e.g., "README" to "/README", which fatals when we try to git cat-file it.

Test Plan:
This no longer happens:

{F24874}

Viewed a directory in browse without a trailing slash in the URL.

Reviewers: vrana, nh

Reviewed By: vrana

CC: aran

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

Details

Provenance
epriestleyAuthored on Nov 21 2012, 4:56 PM
themackabuPushed on Mar 25 2025, 8:07 PM
Parents
rP4d7b44183425: Don't skip even lines in copied code detector
Branches
Unknown
Tags
Unknown

Event Timeline