From 1875c00af5adf9af7ec14a60bae3cbecf0200f46 Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Fri, 22 Sep 2017 11:27:48 +0100 Subject: [PATCH] bin/git-copyright-dates: Pass arguments on to `git log'. This allows determining the copyright dates for subportions of a project. --- bin/git-copyright-dates | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/git-copyright-dates b/bin/git-copyright-dates index 5eec713..180e7ba 100755 --- a/bin/git-copyright-dates +++ b/bin/git-copyright-dates @@ -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? $_"; -- 2.11.0