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

NAME

Git::Repository::Plugin::Blame - Add a blame() method to Git::Repository.

VERSION

Version 1.0.4

SYNOPSIS

        # Load the plugin.
        use Git::Repository 'Blame';
        
        my $repository = Git::Repository->new();
        
        # Get the git blame information.
        my $blame_lines = $repository->blame( $file );

DESCRIPTION

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.

METHODS

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 );

AUTHOR

Guillaume Aubert, <aubertg at cpan.org>.

BUGS

Please report any bugs or feature requests through the web interface at https://github.com/guillaumeaubert/Git-Repository-Plugin-Blame/issues. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

You can find documentation for this module with the perldoc command.

        perldoc Git::Repository::Plugin::Blame

You can also look for information at:

COPYRIGHT & LICENSE

Copyright 2012 Guillaume Aubert.

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License version 3 as published by the Free Software Foundation.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/