git::repository::plugin::log(3pm) debian man page | unix.com

Man Page: git::repository::plugin::log

Operating Environment: debian

Section: 3pm

Git::Repository::Plugin::Log(3pm)			User Contributed Perl Documentation			 Git::Repository::Plugin::Log(3pm)

NAME
Git::Repository::Plugin::Log - Add a log() method to Git::Repository
SYNOPSIS
# load the plugin use Git::Repository 'Log'; my $r = Git::Repository->new(); # get all log objects my @logs = $r->log(qw( --since=yesterday )); # get an iterator my $iter = $r->log(qw( --since=yesterday )); while ( my $log = $iter->next() ) { ...; }
DESCRIPTION
This module adds a new method to "Git::Repository".
METHOD
log( @args ) Run "git log" with the given arguments. In scalar context, returns a "Git::Repository::Log::Iterator" object, which can return "Git::Repository::Log" objects on demand. In list context, returns the full list "Git::Repository::Log" objects. Note that this can be very memory-intensive. See Git::Repository::Log::Iterator's documentation for details about how parameters are handled.
AUTHOR
Philippe Bruhat (BooK), "<book at cpan.org>"
ACKNOWLEDGEMENTS
Many thanks to Aristotle Pagaltzis who requested a "log()" method in the first place, and for very interesting conversations on the topic.
SEE ALSO
Git::Repository::Plugin, Git::Repository::Log::Iterator, Git::Repository::Log.
COPYRIGHT
Copyright 2010 Philippe Bruhat (BooK).
LICENSE
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.14.2 2011-12-28 Git::Repository::Plugin::Log(3pm)
Related Man Pages
git::repository(3pm) - debian
git::repository::log(3pm) - debian
git::repository::plugin::log(3pm) - debian
git::repository::tutorial(3pm) - debian
test::git(3pm) - debian
Similar Topics in the Unix Linux Community
How to read a specific value from a Log file?
Need Script to ZIP/SAVE &amp; then DELETE Log file &amp; DELETE ZIPS older than 12 months
Log search and mail it if the log is updated before 24 hours from the current time
Delete all files from the directory except the ones in the log file
Please Comment on New Man Page Repository