+32
−7
Loading
enable & disable originally tried only to set or unset the executable bit on a file, which is not a viable method with links to shared hook scripts. They now change the target of links, prepending 'disabled:' to disabled links.