mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-19 03:50:54 +01:00
Fixed jump nav repo functionality to not mess with other jump nav functionality
Summary: just changed the regex to only look at the beginning of the string Test Plan: works with: s PhabricatorDAO, rP, r, rPda892bde7c6e9c8f08572fde2d55c934f26dbb86 Reviewers: epriestley Reviewed By: epriestley CC: ddfisher, aran, epriestley Differential Revision: https://secure.phabricator.com/D1703
This commit is contained in:
parent
da892bde7c
commit
08dd3bc1d9
1 changed files with 2 additions and 2 deletions
|
@ -110,8 +110,8 @@ class PhabricatorDirectoryMainController
|
|||
'/^t$/i' => 'uri:/maniphest/',
|
||||
'/^p$/i' => 'uri:/project/',
|
||||
'/^u$/i' => 'uri:/people/',
|
||||
'/r([A-Z]+)$/' => 'repository',
|
||||
'/r([A-Z]+)(\S+)$/' => 'commit',
|
||||
'/^r([A-Z]+)$/' => 'repository',
|
||||
'/^r([A-Z]+)(\S+)$/' => 'commit',
|
||||
'/^d(\d+)$/i' => 'revision',
|
||||
'/^t(\d+)$/i' => 'task',
|
||||
'/^p\s+(.+)$/i' => 'project',
|
||||
|
|
Loading…
Reference in a new issue