> From: Buddy Burden <barefootco...@gmail.com>
[...]
> Or, to ask what is perhaps a more list-relevant question:  Does anyone
> know of a way to test for a directory being part of a Git working copy
> _other_ than by using Git::Repository?


Something like:

  `git ls-tree --name-only -r HEAD | grep $directory`;

from the root of the repo?

--Mark

Reply via email to