1 package App::Rgit::Policy::Default;
6 use App::Rgit::Utils qw/:codes/;
8 use base qw/App::Rgit::Policy/;
12 App::Rgit::Policy::Default - The default policy that stops on error.
20 our $VERSION = '0.08';
24 This is the default policy.
25 It stops as soon as a run returned a non-zero status, but continues if it was signalled.
29 This class inherits from L<App::Rgit::Policy>.
38 my ($policy, $cmd, $conf, $repo, $status, $signal) = @_;
40 $status ? LAST : NEXT;
51 Vincent Pit, C<< <perl at profvince.com> >>, L<http://profvince.com>.
53 You can contact me by mail or on C<irc.perl.org> (vincent).
57 Please report any bugs or feature requests to C<bug-rgit at rt.cpan.org>, or through the web interface at L<http://rt.cpan.org/NoAuth/ReportBug.html?Queue=rgit>.
58 I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
62 You can find documentation for this module with the perldoc command.
64 perldoc App::Rgit::Policy::Default
66 =head1 COPYRIGHT & LICENSE
68 Copyright 2008,2009,2010 Vincent Pit, all rights reserved.
70 This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
74 1; # End of App::Rgit::Policy::Default