find: locate bits of ourselves symbolically
commit28555f546f9ed5ad7775b3eae3cdc59ffdaa1837
authorKyle J. McKay <mackyle@gmail.com>
Wed, 20 Dec 2017 22:04:10 +0000 (20 14:04 -0800)
committerKyle J. McKay <mackyle@gmail.com>
Wed, 20 Dec 2017 22:04:10 +0000 (20 14:04 -0800)
tree2a2053fdbd62a8c029af8ac1f84d2bcecc3e87e4
parentd97a488ddf034f7e5da9fa7df3871d7e9ed82c6c
find: locate bits of ourselves symbolically

For the most part, Git does not care whether parts of the repository
are actually there or only there symbolically (i.e. via a symbolic
link).  For historical reasons the refs namespace gets special
treatment with regard to symbolic links.

Make sure that Girocco also symbolically groks this kind of
arrangement.  The hooks area gets special handling as any symbolic
links found there mean "hands off" during update-all-hooks time.

Some of the reports may need further fine tuning in this regard.

Signed-off-by: Kyle J. McKay <mackyle@gmail.com>
13 files changed:
GNUmakefile
hooks/pre-receive
install.sh
jobd/gc.sh
jobd/update.sh
taskd/clone.sh
toolbox/inactive.sh
toolbox/perform-pre-gc-linking.sh
toolbox/remove-inactive-projects.sh
toolbox/reports/project-disk-use.sh
toolbox/reports/project-fsck-status.sh
toolbox/show-pack-counts.pl
toolbox/update-all-hooks.sh