stable

Clone or download

Read-only

request #14635 GIT : Statistics get the old repository size when their is no repositories

This patch allow to check of their is existing repositories. If their is not, it will not search the old size. How to test : - Get a git with repositories and size - delete repositories - launch statistic event : the actual size should be change Change-Id: Id89104b0fa9a5a6383856e881e5956aa1a5ac0b2

Modified Files

Name
M plugins/git/include/DiskUsage/Collector.php +3 −2 Go to diff View file
M plugins/git/include/Git_LogDao.class.php +11 −1 Go to diff View file
A plugins/git/phpunit/Git/DiskUsage/CollectorTest.php +102 −0 Go to diff View file