=head1 VERSION
-Version 0.03
+Version 0.04
=cut
-our $VERSION = '0.03';
+our $VERSION = '0.04';
=head1 DESCRIPTION
sub report {
my ($self) = @_;
my $cb = $self->policy;
- return NEXT | SAVE unless $cb;
+ return $_[3] ? LAST : NEXT unless $cb;
my $code = $cb->(@_);
return defined $code ? $code : NEXT;
}
=head2 C<run $conf>
Runs the command with a L<App::Rgit::Config> configuration object.
-Stops as soon as one of the executed commands fails, and returns the corresponding exit code.
-Returns zero when all went fine.
+Handles back the code to return to the system and the last policy.
Implemented in subclasses.
=head1 SEE ALSO