NAME

App::Rgit::Repository - Class representing a Git repository.

VERSION

Version 0.08

DESCRIPTION

Class representing a Git repository.

This is an internal class to rgit.

METHODS

new dir => $dir [, fake => 1 ]

Creates a new repository starting from $dir. If the fake option is passed, $dir isn't checked to be a valid git repository.

chdir

chdir into the repository's directory.

run $conf, @args

Runs git @args on the repository for the App::Rgit::Config configuration $conf. When the repository isn't fake, the format substitutions applies to @args elements. Returns the exit code.

fake

repo

bare

name

work

Read-only accessors.

SEE ALSO

rgit.

AUTHOR

Vincent Pit, <perl at profvince.com>, http://profvince.com.

You can contact me by mail or on irc.perl.org (vincent).

BUGS

Please report any bugs or feature requests to bug-rgit at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=rgit. 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 App::Rgit::Repository

COPYRIGHT & LICENSE

Copyright 2008,2009,2010 Vincent Pit, all rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.