Re: Incompatibility between Test::Command and System::Command?

[email protected] (Mark Allen)
Newsgroups perl.moose
Message-ID <[email protected]>
> From: Buddy Burden <[email protected]>
[...]
> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.