git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git-ls-files in subdirectories ignore higher-up .gitignore
@ 2006-01-24 17:59 Pavel Roskin
  2006-01-25  2:08 ` Junio C Hamano
  2006-01-25  6:11 ` Sam Ravnborg
  0 siblings, 2 replies; 6+ messages in thread
From: Pavel Roskin @ 2006-01-24 17:59 UTC (permalink / raw)
  To: git

Hello!

git-ls-files appears to behave in a way that may be unexpected to the
users.  When run in a subdirectory, git-ls-files never reads .gitignore
or whatever is specified by --exclude-per-directory in the parent
directories.

This can be demonstrated in git's own repository:

$ touch t/test.o
$ git-ls-files --others --exclude-per-directory=.gitignore
$ cd t
$ git-ls-files --others --exclude-per-directory=.gitignore
test.o
$

Before I attempt to fix it, I'd like to make sure it's a bug, not a
feature.

-- 
Regards,
Pavel Roskin

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2006-02-10  4:44 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-24 17:59 git-ls-files in subdirectories ignore higher-up .gitignore Pavel Roskin
2006-01-25  2:08 ` Junio C Hamano
2006-01-25  6:11 ` Sam Ravnborg
2006-02-09  8:16   ` [PATCH] ls-files: honour per-directory ignore file from higher directories Junio C Hamano
2006-02-10  3:38     ` Pavel Roskin
2006-02-10  4:44       ` Junio C Hamano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).