From: Heiko Voigt <hvoigt@hvoigt.net>
To: git@vger.kernel.org
Cc: msysgit@googlegroups.com
Subject: Re: [msysGit] Issue 332 in msysgit: .gitattributes dir/ patterns are not processed
Date: Mon, 21 Sep 2009 23:39:24 +0200 [thread overview]
Message-ID: <20090921213916.GA47509@book.hvoigt.net> (raw)
In-Reply-To: <001636d33903a05b960474181c0a@google.com>
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
parent reply other threads:[~2009-09-21 21:39 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <001636d33903a05b960474181c0a@google.com>]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090921213916.GA47509@book.hvoigt.net \
--to=hvoigt@hvoigt.net \
--cc=git@vger.kernel.org \
--cc=msysgit@googlegroups.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox