On 6/21/2021 03:37, Ulrich Mueller wrote:
> TZ=UTC git log --find-renames --find-copies --follow \
>     --pretty="format:%ad" --date="format-local:%Y" ${filename} | tail -n1

This looks like it works:

cat profiles/arch/mips/mips64/multilib/n64/use.force | head -n1
# Copyright 1999-2013 Gentoo Foundation

TZ=UTC git log --find-renames --find-copies --follow --pretty="format:%ad"
--date="format-local:%Y" profiles/arch/mips/mips64/multilib/n64/use.force |
tail -n1
2011

-- 
Joshua Kinard
Gentoo/MIPS
ku...@gentoo.org
rsa6144/5C63F4E3F5C6C943 2015-04-27
177C 1972 1FB8 F254 BAD0 3E72 5C63 F4E3 F5C6 C943

"The past tempts us, the present confuses us, the future frightens us.  And
our lives slip away, moment by moment, lost in that vast, terrible in-between."

--Emperor Turhan, Centauri Republic

Reply via email to