Mark, > Something like: > > `git ls-tree --name-only -r HEAD | grep $directory`; > > from the root of the repo?
That's assuming I _have_ the root of the repo and want to see if a directory I have is in there. What I want is, given _only_ a directory, to see if said directory is part of a(ny) Git working copy. -- Buddy