mirror of
https://github.com/haiwen/seafile-server.git
synced 2025-09-19 01:17:26 +00:00
Update repofilecount compatibility for older version upgrades (#540)
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user