blib/lib/Dist/Zilla/Plugin/Git/Checkout.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 15 | 16 | 93.7 |
line | true | false | branch |
---|---|---|---|
54 | 3 | 1 | unless $self->_is_dirty |
56 | 0 | 1 | if $self->zilla->chrome->prompt_yn('Workspace ' . $self->dir . ' is dirty and was not updated. Release anyway?', {'default', 0}) |
75 | 7 | 11 | if (-d $dir) { } |
76 | 1 | 6 | unless -d $dir->child('.git') |
79 | 1 | 5 | if $origin ne $repo |
81 | 2 | 3 | if ($git->status->is_dirty) |
96 | 3 | 11 | if (defined $self->push_url) { } |
101 | 1 | 10 | if (defined $push_url) |