<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">--- lib/Dist/Zilla/Plugin/ContributorsFromGit.pm.orig	2017-08-14 11:44:49.000000000 -0700
+++ lib/Dist/Zilla/Plugin/ContributorsFromGit.pm	2018-01-06 20:12:21.000000000 -0800
@@ -40,12 +40,19 @@
     'Dist::Zilla::Role::MetaProvider',
     ;
 
+has target_path =&gt; (
+    is      =&gt; 'lazy',
+    isa     =&gt; 'Str',
+    default =&gt; '',
+);
+
 has _contributor_list =&gt; (
     is      =&gt; 'lazy',
     isa     =&gt; 'ArrayRef[Str]',
     builder =&gt; sub {
         my $self = shift @_;
         my @authors = $self-&gt;zilla-&gt;authors-&gt;flatten;
+        my $target = $self-&gt;target_path;
 
         ### and get our list from git, filtering: "@authors"
         my @contributors = uniq
@@ -54,7 +61,7 @@
             grep  { [ map { lc } @authors ]-&gt;none eq lc    }
             map   { decode_utf8($_)                        }
             apply { chomp; s/^\s*\d+\s*//                  }
-            `git shortlog -s -e HEAD`
+            `git shortlog -s -e HEAD $target`
             ;
 
         return [ sort @contributors ];
</pre></body></html>