From: Matthieu Moy Date: Mon, 30 Mar 2015 11:08:41 GMT Subject: Re: [PATCH] enter_repo(): fix suffix precedence documentation Message-ID: In-Reply-To: <1427711433-3104-1-git-send-email-pyokagan@gmail.com> 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: static const char *suffix[] = { "/.git", "", ".git/.git", ".git", NULL, }; So the patch is clearly good. Thanks, -- Matthieu Moy http://www-verimag.imag.fr/~moy/