git: Do not disable commit hook for temporary working tree
authorSimon McVittie <smcv@debian.org>
Thu, 29 Dec 2016 20:46:20 +0000 (20:46 +0000)
committerSimon McVittie <smcv@debian.org>
Thu, 29 Dec 2016 20:46:38 +0000 (20:46 +0000)
commitd092b0b77701a4c5cd9c8464b774a6a1da1f02cd
treef07778ed3e3d6e25076a29bb2a791cc6ae14c9bf
parentafda05479645ccf64bc2cb534d023c5a8cb0a5ae
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.
IkiWiki/Plugin/git.pm
debian/changelog