Homec4science

Fix an issue with browsing repositories that have README, etc

Authored by epriestley <git@epriestley.com> on Nov 22 2012, 01:56.

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

Committed
epriestley <git@epriestley.com>Nov 22 2012, 01:56
Pushed
aubortJan 31 2017, 17:16
Parents
rPH4d7b44183425: Don't skip even lines in copied code detector
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPHf4fa96877082: Fix an issue with browsing repositories that have README, etc (authored by epriestley <git@epriestley.com>).Nov 22 2012, 01:56