* Re: [msysGit] Issue 332 in msysgit: .gitattributes dir/ patterns are not processed
[not found] <001636d33903a05b960474181c0a@google.com>
@ 2009-09-21 21:39 ` Heiko Voigt
0 siblings, 0 replies; only message in thread
From: Heiko Voigt @ 2009-09-21 21:39 UTC (permalink / raw)
To: git; +Cc: msysgit
On Mon, Sep 21, 2009 at 03:26:55PM +0000, codesite-noreply@google.com wrote:
> New issue 332 by vsuvo...@geolearning.com: .gitattributes dir/ patterns are
> not processed
> http://code.google.com/p/msysgit/issues/detail?id=332
>
> What steps will reproduce the problem?
> 1. Create a project and initialize git:
> md foo
> cd foo
> git init
>
> 2. create subdirectory and a file in it:
> md bar
> echo sample text >bar\testfile.txt
>
> 3. create .gitatributes, add/commit it:
> echo bar/ binary >.gitattributes
> git add .gitattributes
> git commit -m "ground zero"
>
> 4. check bar\testfile.txt
> git check-attr binary bar/testfile.txt
>
> What is the expected output? What do you see instead?
> expected output: "bar/testfile.txt": binary: set
> see instead: "bar/testfile.txt": binary: unspecified
This issue came up on the msysgit bug tracker. So here is either the
documentation wrong or the implementation.
Because it does not make sense to specify any attributes to directories
itself I would expect the contents of the directory to get the
attributes.
What do you think?
cheers Heiko
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-09-21 21:39 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <001636d33903a05b960474181c0a@google.com>
2009-09-21 21:39 ` [msysGit] Issue 332 in msysgit: .gitattributes dir/ patterns are not processed Heiko Voigt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox