# gitignore and directories

1 messages from 2005-11-30 to 2005-11-30. Participants: Daniel Barkalow.
Thread: https://gitlist.dev/t/2716

## Daniel Barkalow, 2005-11-30 18:21

Subject: gitignore and directories
Message-ID: <Pine.LNX.4.64.0511301318100.25300@iabervon.org>
URL: https://gitlist.dev/e/Pine.LNX.4.64.0511301318100.25300%40iabervon.org

```
There's a bug in .gitignore handling with respect to directories, but I'm 
not sure which behavior is intended. If you have some pattern in 
.gitignore in your working tree root directory, and you run git-status in 
that directory, it will ignore files that match in subdirectories. 
However, if you're in a subdirectory when you run git-status, it won't 
ignore things that match the pattern. One of these must be a bug, but I'm 
not sure which one matches the intent.

	-Daniel
*This .sig left intentionally blank*

```
