The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

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.