![]() |
![]()
| ![]() |
![]()
NAMEGit::Repository::Log - Class representing git log data SYNOPSIS# load the Log plugin use Git::Repository 'Log'; # get the log for last commit my ($log) = Git::Repository->log( '-1' ); # get the author's email print my $email = $log->author_email; DESCRIPTION"Git::Repository::Log" is a class whose instances represent log items from a git log stream. CONSTRUCTORThis method shouldn't be used directly. Git::Repository::Log::Iterator should be the preferred way to create "Git::Repository::Log" objects. newCreate a new "Git::Repository::Log" instance, using the list of key/values passed as parameters. The supported keys are (from the output of "git log --pretty=raw"):
Note that since "git tag --pretty=raw" does not provide the "encoding" header (and provides the message properly decoded), this information will not be available via Git::Repository::Plugin::Log. ACCESSORSThe following accessors methods are recognized. They all return scalars, except for parent(), which returns a list. Commit informationAuthor and committer information
Date informationLog information
Signature-related informationExtra informationCOPYRIGHTCopyright 2010-2016 Philippe Bruhat (BooK), all rights reserved. LICENSEThis program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
|