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

[email protected] (Buddy Burden)
Newsgroups perl.moose
Message-ID <CAL0mxoRck5=6SezUs3zrp7G++MV_uetsd-PvAOL+FhUNPUzXpA@mail.gmail.com>
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
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.