0ebb45cfe7 
								
							 
						 
						
							
							
								
								Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) ( #21551 )  
							
							... 
							
							
							
							Found using
`find . -type f -name '*.go' -print -exec vim {} -c
':%s/fmt\.Errorf(\(.*\)%v\(.*\)err/fmt.Errorf(\1%w\2err/g' -c ':wq' \;`
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> 
							
						 
						
							2022-10-24 20:29:17 +01:00  
				
					
						
							
							
								 
						
							
								110fc57cbc 
								
							 
						 
						
							
							
								
								Move some code into models/git ( #19879 )  
							
							... 
							
							
							
							* Move access and repo permission to models/perm/access
* fix test
* Move some git related files into sub package models/git
* Fix build
* fix git test
* move lfs to sub package
* move more git related functions to models/git
* Move functions sequence
* Some improvements per @KN4CK3R and @delvh 
							
						 
						
							2022-06-12 23:51:54 +08:00  
				
					
						
							
							
								 
						
							
								fd7d83ace6 
								
							 
						 
						
							
							
								
								Move almost all functions' parameter db.Engine to context.Context ( #19748 )  
							
							... 
							
							
							
							* Move almost all functions' parameter db.Engine to context.Context
* remove some unnecessary wrap functions 
							
						 
						
							2022-05-20 22:08:52 +08:00  
				
					
						
							
							
								 
						
							
								cbd45471b1 
								
							 
						 
						
							
							
								
								Move access and repo permission to models/perm/access ( #19350 )  
							
							... 
							
							
							
							* Move access and repo permission to models/perm/access
* Remove unnecessary code 
							
						 
						
							2022-05-11 12:09:36 +02:00