mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-31 21:28:11 +09:00 
			
		
		
		
	Refactor editorconfig middleware
This commit is contained in:
		| @@ -179,11 +179,6 @@ func Diff(ctx *context.Context) { | ||||
| 		} | ||||
| 	} | ||||
|  | ||||
| 	setEditorconfigIfExists(ctx) | ||||
| 	if ctx.Written() { | ||||
| 		return | ||||
| 	} | ||||
|  | ||||
| 	ctx.Data["CommitID"] = commitID | ||||
| 	ctx.Data["IsSplitStyle"] = ctx.Query("style") == "split" | ||||
| 	ctx.Data["Username"] = userName | ||||
|   | ||||
		Reference in New Issue
	
	Block a user