1App::Yath::Plugin::Git(U3s)er Contributed Perl DocumentatAipopn::Yath::Plugin::Git(3)
2
3
4
6 App::Yath::Plugin::Git - Plugin to attach git data to a test run.
7
9 This plugin will attach git data to your test logs if any is available.
10
12 $ yath test -pGit ...
13
15 The data is attached to the 'run' entry in the log file. This can be
16 seen directly in the json data. The data is also easily accessible with
17 Test2::Harness::UI.
18
19 The data will include the long sha, short sha, branch name, and a brief
20 status.
21
23 COMMAND OPTIONS
24 Git Options
25
26 --git-change-base master
27 --git-change-base HEAD^
28 --git-change-base df22abe4
29 --no-git-change-base
30 Find files changed by all commits in the current branch from most
31 recent stopping when a commit is found that is also present in the
32 history of the branch/commit specified as the change base.
33
35 The source code repository for Test2-Harness can be found at
36 http://github.com/Test-More/Test2-Harness/.
37
39 Chad Granum <exodist@cpan.org>
40
42 Chad Granum <exodist@cpan.org>
43
45 Copyright 2020 Chad Granum <exodist7@gmail.com>.
46
47 This program is free software; you can redistribute it and/or modify it
48 under the same terms as Perl itself.
49
50 See http://dev.perl.org/licenses/
51
52
53
54perl v5.38.0 2023-10-04 App::Yath::Plugin::Git(3)