[Reproducible-builds] [Help-tar] [PATCH] Add --clamp-mtime option
Paul Eggert
eggert at cs.ucla.edu
Fri Jun 5 00:02:15 UTC 2015
Jérémy Bobbio wrote:
> We use BUILD_DATE="$(dpkg-parsechangelog -S Date)" to get the time of
> the latest debian/changelog entry. Other projects could use
> BUILD_DATE="$(git log -1 --pretty="%cd")".
Hah! I use "git log -1 --format='tformat:%ct'" for this situation in the tzcode
distribution. Great minds think (nearly) alike.
I guess I'm not still seeing why it's a win to add an option to tar, since we
seem to have a solution that doesn't involve messing with tar.
More information about the Reproducible-builds
mailing list