The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

lib::relative::to::GitRepository

SYNOPSIS

    use lib::relative::to GitRepository => qw(lib t/lib);

DESCRIPTION

A plugin for lib::relative::to for finding the root of a git repository and then adding some directories under it to @INC.

It works by looking for the parent directory containing .git/config.