]> git.imager.perl.org - imager.git/commitdiff
don't confuse git over directory name vs branch name
authorTony Cook <tony@develop-help.com>
Sat, 14 Jun 2014 01:08:22 +0000 (11:08 +1000)
committerTony Cook <tony@develop-help.com>
Sat, 14 Jun 2014 01:08:22 +0000 (11:08 +1000)
xt/x90cmpversion.t

index 5262919c7989d11fdb8371457eea3cf6d491bef0..bb7ec895ca742732ebb2db7c16f9f94ccc9dc33b 100644 (file)
@@ -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;
   }