git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
Date
Mar 30, 2015, 11:08 UTC
Message-ID
<vpqk2xykaiu.fsf@anie.imag.fr>
In-Reply-To
<1427711433-3104-1-git-send-email-pyokagan@gmail.com>
Paul Tan <pyokagan@gmail.com> 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/
Previous: Paul TanNext: Paul Tan
Message 2 of 8 in “enter_repo(): fix suffix precedence documentation”
  1. enter_repo(): fix suffix precedence documentationPaul Tan, Mar 30, 2015
  2. Matthieu MoyMar 30, 2015
  3. enter_repo(): fix docs to match codePaul Tan, Mar 31, 2015
  4. Junio C HamanoMar 31, 2015
  5. Jeff KingMar 31, 2015
  6. Junio C HamanoMar 31, 2015
  7. enter_repo(): fix docs to match codePaul Tan, Mar 31, 2015
  8. Jeff KingMar 30, 2015

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.