threads / discuss / 2716

gitignore and directories

Subject: gitignore and directories

## tl;dr

One message between Nov 30, 2005 and Nov 30, 2005.

replies: 0people: 1as markdown or json

Daniel Barkalow· Nov 30, 2005, 18:21 UTC · lore

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*

← back to recent threads