mirror of
https://github.com/google/brotli.git
synced 2026-09-22 06:35:52 +00:00
copy nsec of mtime in CopyStat #377
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @JackJey on GitHub (Mar 8, 2021).
when using brotli command in Makefile, it doesn't build incrementally but always re-compress full files again.
this is caused by compare time difference includes nsec of mtime, current brotli cli implementation doesn't copy nsec of mtime.
https://github.com/google/brotli/blob/master/c/tools/brotli.c#L661-L662
It's welcome to include nsec of mtime when copy file stat will solve incremental build by Make. it always compress when files are updated.