Dist::Zilla::Util::Git::Wrapper - Vivify a Git::Wrapper instance for Dist::Zilla
use Dist::Zilla::Util::Git::Wrapper; my $wrapper = Dist::Zilla::Util::Git::Wrapper->new( zilla => $self->zilla ); $wrapper->log(); # etc.
Yes, this does very little, but simply serves as an abstraction for getting a Git::Wrapper object from git, mostly, because everyone remembers
$self->zilla, but you have to RTFM and go source diving to know about
This is a simple straight forward way of doing what you want with the least mental overhead.
Everything else is just proxy methods for
This is a more I.O.C approach to my swathes of
Dist::Zilla::Role::Git::LocalRepository stuff, which got so complex with dependency management my head exploded.
Parameter lazily required, and should be a Dist::Zilla object ( or compatible )
A Git::Wrapper instance. Optional, and pointless to specify manually, but could be useful for testing where you don't want Dist::Zilla
Vivified if not specified based on the
Kent Fredric <email@example.com>
This software is copyright (c) 2017 by Kent Fredric <firstname.lastname@example.org>.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.