forked from gitea/gitea
		
	 cc1f8cbe96
			
		
	
	
		cc1f8cbe96
		
			
		
	
	
	
	
		
			
			The API endpoints for "git" can panic if they are called on an empty repo. We can simply allow empty repos for these endpoints without worry as they should just work. Fix #22452 Signed-off-by: Andrew Thornton <art27@cantab.net>