{"thread":{"id":"15302","subject":"[PATCH] Document clarification: gitmodules, gitattributes","startedAt":"2008-08-31T16:00:27Z","lastAt":"2008-08-31T16:38:40Z","messageCount":2,"participants":["Gustaf Hendeby","Junio C Hamano"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"89319","messageId":"1220198427-13017-1-git-send-email-hendeby@isy.liu.se","threadId":"15302","inReplyTo":null,"subject":"[PATCH] Document clarification: gitmodules, gitattributes","fromName":"Gustaf Hendeby","fromEmail":"hendeby@isy.liu.se","sentAt":"2008-08-31T16:00:27Z","receivedAt":"2008-08-31T16:00:27Z","isPatch":true,"sender":{"key":"hendeby@isy.liu.se","avatar":"https://avatars.githubusercontent.com/u/730316?v=4"},"body":"The SYNOPSIS section of gitattibutes and gitmodule fail to clearly\nspecify the name of the in tree files used.  This patch brings in the\ninitial `.' and the fact that the `.gitmodules' file should reside at\nthe top-level of the working tree.\n\nSigned-off-by: Gustaf Hendeby <hendeby@isy.liu.se>\n---\n\nIf this patch isn't accepted, the reverse changes should be made to\nthe gitignore documentation.\n\n/Gustaf\n\n Documentation/gitattributes.txt |    2 +-\n Documentation/gitmodules.txt    |    2 +-\n 2 files changed, 2 insertions(+), 2 deletions(-)\n\ndiff --git a/Documentation/gitattributes.txt b/Documentation/gitattributes.txt\nindex 1f23d27..5fb5007 100644\n--- a/Documentation/gitattributes.txt\n+++ b/Documentation/gitattributes.txt\n@@ -7,7 +7,7 @@ gitattributes - defining attributes per path\n \n SYNOPSIS\n --------\n-$GIT_DIR/info/attributes, gitattributes\n+$GIT_DIR/info/attributes, .gitattributes\n \n \n DESCRIPTION\ndiff --git a/Documentation/gitmodules.txt b/Documentation/gitmodules.txt\nindex f8d122a..d1a17e2 100644\n--- a/Documentation/gitmodules.txt\n+++ b/Documentation/gitmodules.txt\n@@ -7,7 +7,7 @@ gitmodules - defining submodule properties\n \n SYNOPSIS\n --------\n-gitmodules\n+$GIT_WORK_DIR/.gitmodules\n \n \n DESCRIPTION\n-- \n1.6.0.1.258.g6c63a\n"},{"id":"89326","messageId":"7vwshx2l7z.fsf@gitster.siamese.dyndns.org","threadId":"15302","inReplyTo":"1220198427-13017-1-git-send-email-hendeby@isy.liu.se","subject":"Re: [PATCH] Document clarification: gitmodules, gitattributes","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2008-08-31T16:38:40Z","receivedAt":"2008-08-31T16:38:40Z","isPatch":true,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Gustaf Hendeby <hendeby@isy.liu.se> writes:\n\n> The SYNOPSIS section of gitattibutes and gitmodule fail to clearly\n> specify the name of the in tree files used.  This patch brings in the\n> initial `.' and the fact that the `.gitmodules' file should reside at\n> the top-level of the working tree.\n>\n> Signed-off-by: Gustaf Hendeby <hendeby@isy.liu.se>\n> ---\n>\n> If this patch isn't accepted, the reverse changes should be made to\n> the gitignore documentation.\n\nThe sole reason they lacked the initial \".\" was because AsciiDOC\nmishandled \".gitmodules\" that began the line; we used to have the dot but\nremoved it as a workaround because we couldn't find a good solution by\ntweaking the mark-up.\n\nBy prefixing \"$GIT_FOOBAR/\" in front of them, your patch makes the issue\ngo away while conveying the fact that it has to be at the toplevel of the\nwork tree, not anywhere in the tree.  Very nice.\n"}]}