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

[PATCH] gitattributes documentation: link to gitignore for glob format

From
Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Date
Sep 21, 2008, 13:23 UTC
Message-ID
<1222003408-12118-1-git-send-email-pclouds@gmail.com>
In-Reply-To
<C4AD5305-CDD8-418D-95C8-C738A86E78E1@wincent.com>
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
---
 On 9/21/08, Wincent Colaiuta <win@wincent.com> wrote:
 >  Did you actually proofread this before sending it?
 I did, but obviously I should have been more serious on
 English classes.
 Documentation/gitattributes.txt |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/Documentation/gitattributes.txt b/Documentation/gitattributes.txt
index 9a75257..708a9b5 100644
--- a/Documentation/gitattributes.txt
+++ b/Documentation/gitattributes.txt
@@ -21,7 +21,9 @@ Each line in `gitattributes` file is of form:
 	glob	attr1 attr2 ...
 
 That is, a glob pattern followed by an attributes list,
-separated by whitespaces.  When the glob pattern matches the
+separated by whitespace. The glob pattern format is the same as
+the one used by `gitignore` files. Please refer to linkgit:gitignore[5]
+for more information. When the glob pattern matches the
 path in question, the attributes listed on the line are given to
 the path.
 
-- 
1.6.0.2.427.g8dbf1
Previous: Wincent Colaiuta
Message 3 of 3 in “gitattributes documentation: link to gitignore for glob format”
  1. gitattributes documentation: link to gitignore for glob formatNguyễn Thái Ngọc Duy, Sep 21, 2008
  2. Wincent ColaiutaSep 21, 2008
  3. gitattributes documentation: link to gitignore for glob formatNguyễn Thái Ngọc Duy, Sep 21, 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.