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

NAME

Dist::Zilla::Role::Git::Remote::Check - Check a remote branch is not ahead of a local one

VERSION

version 0.2.0

PARAMETERS

report_commits

skip_if_not_current

METHODS

report_commits

skip_if_not_current

is_current_branch

should_skip

check_remote

COMPOSITION

Recommended application order if using this role:

    sub branch {

    }
    with "Dist::Zilla::Role::Plugin";
    with "Dist::Zilla::Role::Git::LocalRepository";
    with "Dist::Zilla::Role::Git::LocalRepository::LocalBranches";
    with "Dist::Zilla::Role::Git::LocalRepository::CurrentBranch";
    with "Dist::Zilla::Role::Git::RemoteNames";
    with "Dist::Zilla::Role::Git::RemoteName";
    with "Dist::Zilla::Role::Git::Remote::Branch";
    with "Dist::Zilla::Role::Git::Remote::Check";

REQUIRED METHODS

branch

Must be implemented by the consuming plugin. ( Presently I know of no roles that provide this method ).

Must return a string value of a branch name, e.g.: master

current_branch

Must return the name (String) of the branch we are currently on, or return false if we are not on a branch.

Must be one of the branches listed by git branch

log

log_fatal

remote_branch

AUTHOR

Kent Fredric <kentnl@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2013 by Kent Fredric <kentnl@cpan.org>.

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