Re: [PATCH] enter_repo(): fix suffix precedence documentation

2015-03-30 Thread Jeff King
On Mon, Mar 30, 2015 at 06:30:33PM +0800, Paul Tan wrote: > The ordering of the list of suffixes tested in enter_repo() is > documented as "%s.git/.git", "%s/.git", "%s.git", "%s". This does not > match the ordering of the list of suffixes tested in the code which is > "%s/.git", "%s", "%s.git/.gi

Re: [PATCH] enter_repo(): fix suffix precedence documentation

2015-03-30 Thread Matthieu Moy
Paul Tan writes: > The ordering of the list of suffixes tested in enter_repo() is > documented as "%s.git/.git", "%s/.git", "%s.git", "%s". This does not > match the ordering of the list of suffixes tested in the code which is > "%s/.git", "%s", "%s.git/.git", "%s.git". Fix this. Indeed:

[PATCH] enter_repo(): fix suffix precedence documentation

2015-03-30 Thread Paul Tan
The ordering of the list of suffixes tested in enter_repo() is documented as "%s.git/.git", "%s/.git", "%s.git", "%s". This does not match the ordering of the list of suffixes tested in the code which is "%s/.git", "%s", "%s.git/.git", "%s.git". Fix this. Signed-off-by: Paul Tan --- path.c | 4 +