project-disk-use: skip percent utilization unless -d objects
commit7ad4f4c5f9c070e8bca07388c85f20ffd7744546
authorKyle J. McKay <mackyle@gmail.com>
Fri, 1 May 2015 03:15:18 +0000 (30 20:15 -0700)
committerKyle J. McKay <mackyle@gmail.com>
Fri, 1 May 2015 03:15:18 +0000 (30 20:15 -0700)
treec9eb6e417ee534cf73f79a363bfb3817e2e5845d
parentd01e7dc3ac0a88d807b11ffa7ef2a04491ec313f
project-disk-use: skip percent utilization unless -d objects

If repositories are set up in an unusual configuration where
multiple repositories share the same objects directory via
symbolic links, we skip using the reposizek value from that
repository as it will incorrectly skew the results.  Instead
the objects directory will be considered only with the
repository to which it really belongs.

Signed-off-by: Kyle J. McKay <mackyle@gmail.com>
toolbox/reports/project-disk-use.sh