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

Re: [PATCH] Document clarification: gitmodules, gitattributes

From
Junio C Hamano <gitster@pobox.com>
Date
Aug 31, 2008, 16:38 UTC
Message-ID
<7vwshx2l7z.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<1220198427-13017-1-git-send-email-hendeby@isy.liu.se>
Gustaf Hendeby <hendeby@isy.liu.se> writes:
Show 10 quoted lines
> The SYNOPSIS section of gitattibutes and gitmodule fail to clearly
> specify the name of the in tree files used.  This patch brings in the
> initial `.' and the fact that the `.gitmodules' file should reside at
> the top-level of the working tree.
>
> Signed-off-by: Gustaf Hendeby <hendeby@isy.liu.se>
> ---
>
> If this patch isn't accepted, the reverse changes should be made to
> the gitignore documentation.

The sole reason they lacked the initial "." was because AsciiDOC mishandled ".gitmodules" that began the line; we used to have the dot but removed it as a workaround because we couldn't find a good solution by tweaking the mark-up.

By prefixing "$GIT_FOOBAR/" in front of them, your patch makes the issue go away while conveying the fact that it has to be at the toplevel of the work tree, not anywhere in the tree. Very nice.

Previous: Gustaf Hendeby
Message 2 of 2 in “Document clarification: gitmodules, gitattributes”
  1. Document clarification: gitmodules, gitattributesGustaf Hendeby, Aug 31, 2008
  2. Junio C HamanoAug 31, 2008

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.