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

From: Matthieu Moy <[email-masked]>
Date: Mon, 30 Mar 2015 13:08:41 +0200

Paul Tan <[email-masked]> 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/