3 ms·
The post-checkout hook gets used for things like concatenating JS and CSS assets in a repository that's meant to house templates, i.e. a poor man's invocation o
by avar 8y ago
The post-checkout hook gets used for things like concatenating JS and CSS assets in a repository that's meant to house templates, i.e. a poor man's invocation of "make" whenever a user does a "git pull" without the user having to do anything extra.
It can also be used for other cases where you'd like to amend what git does by default when updating the tree. See this recent thread[1] where some users want to have mtime behavior on files that's different from git's defaults, and one way to do that is via a post-checkout hook.
1. https://public-inbox.org/git/20180413170129.15310-1-mgorny@gentoo.org/ https://public-inbox.org/git/20180413170129.15310-1-mgorny@g...