I noticed that now there is no update of metadata after the execution of git pull orgit merge.
To make the upgrade work after git pull orgit merge, I had to add a new post-merge hook:
#!/usr/bin/env bash
# It runs .git/hooks/git-store-meta.pl --apply -d after `git merge` or `git pull`
if [ -x ".git/hooks/git-store-meta.pl" ]; then
# apply meta changes of files and directories
.git/hooks/git-store-meta.pl --apply -d
fi
It would be very convenient if such a hook appeared immediately after the installation of git-store-meta.pl --install.
What do you think?
I noticed that now there is no update of metadata after the execution of
git pull
orgit merge
. To make the upgrade work aftergit pull
orgit merge
, I had to add a newpost-merge
hook:It would be very convenient if such a hook appeared immediately after the installation of git-store-meta.pl --install. What do you think?