bin/git-copyright-dates: Pass arguments on to `git log'.
[profile] / bin / git-copyright-dates
index 5eec713..180e7ba 100755 (executable)
@@ -2,7 +2,7 @@
 
 my (%Y, %M);
 open my $fh, "-|", "git", "log",
-  "--date=format:%Y", "--pretty=format:%ad %aN"
+  "--date=format:%Y", "--pretty=format:%ad %aN", @ARGV
   or die "git log: $!";
 while (<$fh>) {
   /(\d+)\s+(.*)$/ or die "wtf?  $_";