blib/lib/Module/Setup/Plugin/VC/Git.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 10 | 10 | 100.0 |
line | true | false | branch |
---|---|---|---|
16 | 1 | 5 | unless $self->dialog('Git init? [Yn] ', 'y') =~ /[Yy]/ |
18 | 1 | 4 | if $self->system('git', 'init') |
19 | 1 | 3 | if $self->system('git', 'add', '.gitignore') |
23 | 4 | 27 | if $path eq '.' or $path eq '..' or $path eq '.git' |
26 | 1 | 2 | unless not $self->system('git', 'commit', '-m', 'initial commit') |