diff options
-rwxr-xr-x | scripts/check-copyright-year | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/check-copyright-year b/scripts/check-copyright-year index 58d9e66b..c33c3c52 100755 --- a/scripts/check-copyright-year +++ b/scripts/check-copyright-year @@ -2,7 +2,7 @@ # # Does the copyright statement include the year of the latest git commit? # -# Copyright (C) 2012, 2014-2015 Codethink Limited +# Copyright (C) 2012, 2014-2016 Codethink Limited # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -88,7 +88,7 @@ class CheckCopyrightYear(cliapp.Application): self.all_ok = self.all_ok and ok def get_git_commit_year(self, filename): - out = self.runcmd(['git', 'log', '-1', '--format=format:%cd', + out = self.runcmd(['git', 'log', '-1', '--format=format:%ad', filename]) if not out: return None |