1
0
mirror of https://github.com/haiwen/seafile-server.git synced 2025-09-19 10:03:40 +00:00

Update repofilecount compatibility for older version upgrades (#540)

This commit is contained in:
feiniks
2022-02-10 16:49:33 +08:00
committed by GitHub
parent 524f227b02
commit 1fe89ff710

View File

@@ -324,7 +324,7 @@ compute_repo_size (void *vjob)
repo->id, repo->version,
info->head_id);
if (info && old_head){
if (info && (info->file_count != 0) && old_head){
gint64 change_size = 0;
gint64 change_file_count = 0;
GList *diff_entries = NULL;