projtool.pl: add [set]hooks command
commit5ab19a876587b2f5676c00cc00b230e693d81592
authorKyle J. McKay <mackyle@gmail.com>
Tue, 6 Mar 2018 21:17:18 +0000 (6 13:17 -0800)
committerKyle J. McKay <mackyle@gmail.com>
Tue, 6 Mar 2018 21:17:18 +0000 (6 13:17 -0800)
tree2f77ee8d9a4f07230568a8bdf13bc851b53d7169
parentc3b19985ec84b1ccb707f659f2dea84dd48faa02
projtool.pl: add [set]hooks command

Add a command to conveniently change the current setting of the
core.hooksPath value to a local, global or custom setting.

Depending on the actual value of $Girocco::Config::reporoot and
potential symbolic links in the path, manually setting the correct
"canonical" value for a local or global hookspath can sometimes
be awkward to get right.

Using the new sethooks command greatly simplifies this.

Signed-off-by: Kyle J. McKay <mackyle@gmail.com>
toolbox/projtool.pl