From b64f8bf32b5f980fbb309f830ccb969b119065eb Mon Sep 17 00:00:00 2001 From: Tony Cook Date: Sat, 14 Jun 2014 11:08:22 +1000 Subject: [PATCH] don't confuse git over directory name vs branch name --- xt/x90cmpversion.t | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xt/x90cmpversion.t b/xt/x90cmpversion.t index 5262919c..bb7ec895 100644 --- a/xt/x90cmpversion.t +++ b/xt/x90cmpversion.t @@ -32,8 +32,8 @@ plan tests => scalar(@subdirs) + scalar(@pm_files) unless $report; for my $dir (@subdirs) { - my @changes = `git log --abbrev --oneline $last_tag..HEAD $dir`; - my @more_changes = `git status --porcelain $dir`; + my @changes = `git log --abbrev --oneline $last_tag..HEAD -- $dir`; + my @more_changes = `git status --porcelain -- $dir`; if ($report) { print "$dir updated\n" if @changes || @more_changes; } -- 2.39.5