File Coverage

blib/lib/App/Git/Workflow/Command/ResetTo.pm
Criterion Covered Total %
statement 21 22 95.4
branch n/a
condition n/a
subroutine 7 8 87.5
pod 1 1 100.0
total 29 31 93.5


line stmt bran cond sub pod time code
1              
2             # Created on: 2014-03-11 20:58:59
3             # Create by: Ivan Wills
4             # $Id$
5             # $Revision$, $HeadURL$, $Date$
6             # $Revision$, $Source$, $Date$
7              
8             use strict;
9 1     1   773 use warnings;
  1         2  
  1         30  
10 1     1   5 use version;
  1         1  
  1         20  
11 1     1   4 use English qw/ -no_match_vars /;
  1         1  
  1         4  
12 1     1   57 use Term::ANSIColor qw/colored/;
  1         2  
  1         4  
13 1     1   261 use App::Git::Workflow;
  1         2  
  1         29  
14 1     1   4 use App::Git::Workflow::Command qw/get_options/;
  1         2  
  1         72  
15 1     1   6  
  1         1  
  1         134  
16             our $VERSION = version->new(1.1.20);
17             our $workflow = App::Git::Workflow->new;
18             our ($name) = $PROGRAM_NAME =~ m{^.*/(.*?)$}mxs;
19             our %option;
20              
21             get_options(
22             \%option,
23 0     0 1   'colour|color|c',
24             'insensitive|i',
25             );
26              
27             }
28              
29             1;
30              
31              
32             =head1 NAME
33              
34             git-reset-to - Help reset-to many commits
35              
36             =head1 VERSION
37              
38             This documentation refers to git-reset-to version 1.1.20
39              
40             =head1 SYNOPSIS
41              
42             git-reset-to [option]
43              
44             OPTIONS:
45              
46             -v --verbose Show more detailed option
47             --version Prints the version information
48             --help Prints this help information
49             --man Prints the full documentation for git-reset-to
50              
51             =head1 DESCRIPTION
52              
53             Short hand for running
54              
55             C<git commit --reset-to>
56              
57             Over more than one commit in the history
58              
59             =head1 SUBROUTINES/METHODS
60              
61             =head2 C<run ()>
62              
63             Executes the git workflow command
64              
65             =head1 DIAGNOSTICS
66              
67             =head1 CONFIGURATION AND ENVIRONMENT
68              
69             =head1 DEPENDENCIES
70              
71             =head1 INCOMPATIBILITIES
72              
73             =head1 BUGS AND LIMITATIONS
74              
75             There are no known bugs in this module.
76              
77             Please report problems to Ivan Wills (ivan.wills@gmail.com).
78              
79             Patches are welcome.
80              
81             =head1 AUTHOR
82              
83             Ivan Wills - (ivan.wills@gmail.com)
84              
85             =head1 LICENSE AND COPYRIGHT
86              
87             Copyright (c) 2014 Ivan Wills (14 Mullion Close, Hornsby Heights, NSW Australia 2077).
88             All rights reserved.
89              
90             This module is free software; you can redistribute it and/or modify it under
91             the same terms as Perl itself. See L<perlartistic>. This program is
92             distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
93             without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
94             PARTICULAR PURPOSE.
95              
96             =cut