mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-30 18:36:22 +01:00 
			
		
		
		
	* Refactor repo.isBare to repo.isEmpty #5629 Signed-off-by: Andrew Thornton <art27@cantab.net> * Remove Sync call
This commit is contained in:
		| @@ -124,7 +124,7 @@ func APIContexter() macaron.Handler { | ||||
| func ReferencesGitRepo() macaron.Handler { | ||||
| 	return func(ctx *APIContext) { | ||||
| 		// Empty repository does not have reference information. | ||||
| 		if ctx.Repo.Repository.IsBare { | ||||
| 		if ctx.Repo.Repository.IsEmpty { | ||||
| 			return | ||||
| 		} | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user