]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commit
git: Do not disable commit hook for temporary working tree
authorSimon McVittie <smcv@debian.org>
Wed, 11 Jan 2017 15:33:21 +0000 (15:33 +0000)
committerSimon McVittie <smcv@debian.org>
Wed, 11 Jan 2017 15:33:21 +0000 (15:33 +0000)
commit4eef9f4be02abe1c08823768427c9e6dd4c2fd9b
treef59b63685f355d8858bd48e24f8841b1f5d04169
parent7f18a5cd54411c76b7f78836b9d03a3008d96d6c
git: Do not disable commit hook for temporary working tree

We exclude .git/hooks from symlinking into the temporary working tree,
which avoids the commit hook being run for the temporary branch anyway.
This avoids the wiki not being updated if an orthogonal change is
received in process A, while process B prepares a revert that is
subsequently cancelled.

(cherry picked from commit d092b0b77701a4c5cd9c8464b774a6a1da1f02cd)
IkiWiki/Plugin/git.pm