]> granicus.if.org Git - strace/commit
update_copyright_years.sh: workaround for old git versions
authorEugene Syromyatnikov <evgsyr@gmail.com>
Fri, 25 Aug 2017 22:28:45 +0000 (00:28 +0200)
committerDmitry V. Levin <ldv@altlinux.org>
Sun, 27 Aug 2017 11:06:14 +0000 (11:06 +0000)
commit295cf322b17a2e0f46b712d12123c418e294c28b
tree1e4ce4c836a832938529a926d820f576c21fb2d3
parentdbf939d19dd2bad1f0ac681c414e07dbc6ec95e9
update_copyright_years.sh: workaround for old git versions

Old git versions (like the one shipped in Debian 8) do not support setting
date format with --date, working this around by processing git log output
with date +%Y.

* main/update_copyright_years.sh (process_file) <first_commit_year,
last_commit_year>: Change format to format:%aD, remove --date, supply
output as a -d option argument to date +%Y.
maint/update_copyright_years.sh