| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
package App::GitHooks::Hook::PostCheckout; |
|
2
|
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
# IMPORTANT: if you need to create a custom run() subroutine in this package, |
|
4
|
|
|
|
|
|
|
# amend t/21-run-dash.t so that the test performed there is still relevant. |
|
5
|
|
|
|
|
|
|
|
|
6
|
2
|
|
|
2
|
|
1333
|
use strict; |
|
|
2
|
|
|
|
|
4
|
|
|
|
2
|
|
|
|
|
62
|
|
|
7
|
2
|
|
|
2
|
|
8
|
use warnings; |
|
|
2
|
|
|
|
|
2
|
|
|
|
2
|
|
|
|
|
70
|
|
|
8
|
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
# Inherit from the base Hook class. |
|
10
|
2
|
|
|
2
|
|
7
|
use base 'App::GitHooks::Hook'; |
|
|
2
|
|
|
|
|
2
|
|
|
|
2
|
|
|
|
|
795
|
|
|
11
|
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
=head1 NAME |
|
14
|
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
App::GitHooks::Hook::PostCheckout - Handle the post-checkout hook. |
|
16
|
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
=head1 VERSION |
|
19
|
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
Version 1.9.0 |
|
21
|
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=cut |
|
23
|
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
our $VERSION = '1.9.0'; |
|
25
|
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
=head1 BUGS |
|
28
|
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
Please report any bugs or feature requests through the web interface at |
|
30
|
|
|
|
|
|
|
L<https://github.com/guillaumeaubert/App-GitHooks/issues/new>. |
|
31
|
|
|
|
|
|
|
I will be notified, and then you'll automatically be notified of progress on |
|
32
|
|
|
|
|
|
|
your bug as I make changes. |
|
33
|
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
=head1 SUPPORT |
|
36
|
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
You can find documentation for this module with the perldoc command. |
|
38
|
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
perldoc App::GitHooks::Hook::PostCheckout |
|
40
|
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
You can also look for information at: |
|
43
|
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
=over |
|
45
|
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
=item * GitHub's request tracker |
|
47
|
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
L<https://github.com/guillaumeaubert/App-GitHooks/issues> |
|
49
|
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
=item * AnnoCPAN: Annotated CPAN documentation |
|
51
|
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
L<http://annocpan.org/dist/app-githooks> |
|
53
|
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
=item * CPAN Ratings |
|
55
|
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
L<http://cpanratings.perl.org/d/app-githooks> |
|
57
|
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
=item * MetaCPAN |
|
59
|
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
L<https://metacpan.org/release/App-GitHooks> |
|
61
|
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
=back |
|
63
|
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
=head1 AUTHOR |
|
66
|
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
L<Guillaume Aubert|https://metacpan.org/author/AUBERTG>, |
|
68
|
|
|
|
|
|
|
C<< <aubertg at cpan.org> >>. |
|
69
|
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
=head1 COPYRIGHT & LICENSE |
|
72
|
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
Copyright 2013-2017 Guillaume Aubert. |
|
74
|
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
This code is free software; you can redistribute it and/or modify it under the |
|
76
|
|
|
|
|
|
|
same terms as Perl 5 itself. |
|
77
|
|
|
|
|
|
|
|
|
78
|
|
|
|
|
|
|
This program is distributed in the hope that it will be useful, but WITHOUT ANY |
|
79
|
|
|
|
|
|
|
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A |
|
80
|
|
|
|
|
|
|
PARTICULAR PURPOSE. See the LICENSE file for more details. |
|
81
|
|
|
|
|
|
|
|
|
82
|
|
|
|
|
|
|
=cut |
|
83
|
|
|
|
|
|
|
|
|
84
|
|
|
|
|
|
|
1; |