mirror of
				https://github.com/go-gitea/gitea
				synced 2025-11-04 05:18:25 +00:00 
			
		
		
		
	Ensure LF on checkouts and in editors (#9259)
This will ensure our repo is always checked out with LF line endings which should help Windows users who have line ending normalization enabled. Additionally, added the LF preference to .editorconfig.
This commit is contained in:
		@@ -5,6 +5,7 @@ root = true
 | 
			
		||||
charset = utf-8
 | 
			
		||||
insert_final_newline = true
 | 
			
		||||
trim_trailing_whitespace = true
 | 
			
		||||
end_of_line = lf
 | 
			
		||||
 | 
			
		||||
[*.go]
 | 
			
		||||
indent_style = tab
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										1
									
								
								.gitattributes
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								.gitattributes
									
									
									
									
										vendored
									
									
								
							@@ -1,3 +1,4 @@
 | 
			
		||||
* text=auto eol=lf
 | 
			
		||||
conf/* linguist-vendored
 | 
			
		||||
docker/* linguist-vendored
 | 
			
		||||
options/* linguist-vendored
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user