Homec4science

Don't let users pick "whatever.git" as a repository short name, make "." work

Authored by epriestley <git@epriestley.com> on Nov 22 2016, 00:41.

Description

Don't let users pick "whatever.git" as a repository short name, make "." work

Summary:
Fixes T11902.

  • Periods now work in short names.
  • If you try to name something ".git", no dice.

Test Plan:

  • Tried to name something "quack.git", was politely rejected.
  • Named something "quack.notgit", and it worked fine.
  • Cloned Mercurial and Git repositories over SSH with ".git" and non-".git" variants without hitting any issues.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T11902

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

Details

Committed
epriestley <git@epriestley.com>Nov 22 2016, 00:47
Pushed
aubortJan 31 2017, 17:16
Parents
rPH55e21565b593: Support application partitioning across multiple masters
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPHbf1cbc2499c7: Don't let users pick "whatever.git" as a repository short name, make "." work (authored by epriestley <git@epriestley.com>).Nov 22 2016, 00:47