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