{"thread":{"id":"21020","subject":"Re: [msysGit] Issue 332 in msysgit: .gitattributes dir/ patterns are not processed","startedAt":"2009-09-21T21:39:24Z","lastAt":"2009-09-21T21:39:24Z","messageCount":1,"participants":["Heiko Voigt"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"123604","messageId":"20090921213916.GA47509@book.hvoigt.net","threadId":"21020","inReplyTo":"001636d33903a05b960474181c0a@google.com","subject":"Re: [msysGit] Issue 332 in msysgit: .gitattributes dir/ patterns are not processed","fromName":"Heiko Voigt","fromEmail":"hvoigt@hvoigt.net","sentAt":"2009-09-21T21:39:24Z","receivedAt":"2009-09-21T21:39:24Z","isPatch":false,"sender":{"key":"hvoigt@hvoigt.net","avatar":"https://avatars.githubusercontent.com/u/184958?v=4"},"body":"On Mon, Sep 21, 2009 at 03:26:55PM +0000, codesite-noreply@google.com wrote:\n> New issue 332 by vsuvo...@geolearning.com: .gitattributes dir/ patterns are  \n> not processed\n> http://code.google.com/p/msysgit/issues/detail?id=332\n> \n> What steps will reproduce the problem?\n> 1. Create a project and initialize git:\n>     md foo\n>     cd foo\n>     git init\n> \n> 2. create subdirectory and a file in it:\n>     md bar\n>     echo sample text >bar\\testfile.txt\n> \n> 3. create .gitatributes, add/commit it:\n>     echo bar/ binary >.gitattributes\n>     git add .gitattributes\n>     git commit -m \"ground zero\"\n> \n> 4. check bar\\testfile.txt\n>     git check-attr binary bar/testfile.txt\n> \n> What is the expected output? What do you see instead?\n> expected output: \"bar/testfile.txt\": binary: set\n> see instead:     \"bar/testfile.txt\": binary: unspecified\n\nThis issue came up on the msysgit bug tracker. So here is either the\ndocumentation wrong or the implementation.\n\nBecause it does not make sense to specify any attributes to directories\nitself I would expect the contents of the directory to get the\nattributes.\n\nWhat do you think?\n\ncheers Heiko\n"}]}