Git::Repository::Plugin::Blame - Add a blame() method to Git::Repository.
Version 1.0.2
# Load the plugin. use Git::Repository 'Blame'; my $repository = Git::Repository->new(); # Get the git blame information. my $blame_lines = $repository->blame( $file );
This module adds a new blame() method to Git::Repository, which can be used to determine what the last change for each line in a file is.
blame()
Return the git blame information for a given file as an arrayref of Git::Repository::Plugin::Blame::Line objects.
my $blame_lines = $repository->blame( $file );
Guillaume Aubert, <aubertg at cpan.org>.
<aubertg at cpan.org>
Please report any bugs or feature requests to bug-git-repository-plugin-blame at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Git-Repository-Plugin-Blame. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-git-repository-plugin-blame at rt.cpan.org
You can find documentation for this module with the perldoc command.
perldoc Git::Repository::Plugin::Blame
You can also look for information at:
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=Git-Repository-Plugin-Blame
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/Git-Repository-Plugin-Blame
CPAN Ratings
http://cpanratings.perl.org/d/Git-Repository-Plugin-Blame
Search CPAN
http://search.cpan.org/dist/Git-Repository-Plugin-Blame/
Copyright 2012 Guillaume Aubert.
This program is free software; you can redistribute it and/or modify it under the terms of the Artistic License.
See http://dev.perl.org/licenses/ for more information.
To install Git::Repository::Plugin::Blame, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Git::Repository::Plugin::Blame
CPAN shell
perl -MCPAN -e shell install Git::Repository::Plugin::Blame
For more information on module installation, please visit the detailed CPAN module installation guide.