enter_repo(): fix docs to match code
commitc8c3f1d087f2195fd6ef61d6cca8241a808ac11a
authorPaul Tan <pyokagan@gmail.com>
Tue, 31 Mar 2015 13:39:27 +0000 (31 21:39 +0800)
committerJunio C Hamano <gitster@pobox.com>
Tue, 31 Mar 2015 17:19:53 +0000 (31 10:19 -0700)
treeef3d639175e20ff436b89b55f8707f38226f39af
parent282616c72d1d08a77ca4fe1186cb708c38408d87
enter_repo(): fix docs to match code

In b3256eb (standardize and improve lookup rules for external local
repos), enter_repo() was modified to use a different precedence
ordering of suffixes for DWIM of the repository path, and to ensure
that the repository path is actually valid instead of just testing
for existence.

However, the documentation was not modified to reflect these
changes.  Fix the documentation to match the code.

Documentation contributed by Jeff King.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Paul Tan <pyokagan@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
path.c