@@ -, +, @@ --- t/00-testcritic.t | 2 +- xt/check_makefile.t | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) --- a/t/00-testcritic.t +++ a/t/00-testcritic.t @@ -14,5 +14,5 @@ if ( $EVAL_ERROR ) { } Test::Perl::Critic->import( -profile => '.perlcriticrc' ); -my @files = map { chomp; $_ } `git ls-tree -r master --name-only`; # only files part of git +my @files = map { chomp; $_ } `git ls-tree -r HEAD --name-only`; # only files part of git all_critic_ok(@files); --- a/xt/check_makefile.t +++ a/xt/check_makefile.t @@ -26,7 +26,7 @@ use File::Slurp qw( read_file ); use Data::Dumper; my $curdir = File::Spec->curdir(); -my @dirs = `git ls-tree -d --name-only master`; +my @dirs = `git ls-tree -d --name-only HEAD`; my $makefile = read_file("$curdir/Makefile.PL"); my @missing; for my $d ( sort @dirs ) { --