This Capistrano task will loop through all of the repository files for the specified branch, and set the atime
and mtime
to the most recent (relative to each file) commit author date.
I wrote this to get around a limitation in Webpacker 3.5.5 when deploying. Because of how Capistrano works, Webpacker would recompile every deploy even if no Webpack code had changed.