mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 16:40:24 +08:00 
			
		
		
		
	not update updated uinx for git gc (#15637)
				
					
				
			fix #15634 Signed-off-by: a1012112796 <1012112796@qq.com>
This commit is contained in:
		@@ -747,7 +747,7 @@ func (repo *Repository) updateSize(e Engine) error {
 | 
				
			|||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	repo.Size = size + lfsSize
 | 
						repo.Size = size + lfsSize
 | 
				
			||||||
	_, err = e.ID(repo.ID).Cols("size").Update(repo)
 | 
						_, err = e.ID(repo.ID).Cols("size").NoAutoTime().Update(repo)
 | 
				
			||||||
	return err
 | 
						return err
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user