BaseTools/Scripts: Ignore the CRLF check when upgrade submodule.
If the submodule is upgraded, skip the CRLF check as it isn't change for file. Signed-off-by: Guomin Jiang <guomin.jiang@intel.com> Cc: Bob Feng <bob.c.feng@intel.com> Cc: Liming Gao <liming.gao@intel.com> Reviewed-by: Bob Feng <bob.c.feng@intel.com>
This commit is contained in:
		
				
					committed by
					
						![mergify[bot]](/avatar/e3df20cd7a67969c41a65f03bea54961?size=40) mergify[bot]
						mergify[bot]
					
				
			
			
				
	
			
			
			
						parent
						
							e43d0884ed
						
					
				
				
					commit
					ff2655d1a4
				
			| @@ -502,7 +502,7 @@ class GitDiffCheck: | ||||
|  | ||||
|         stripped = line.rstrip() | ||||
|  | ||||
|         if self.force_crlf and eol != '\r\n': | ||||
|         if self.force_crlf and eol != '\r\n' and (line.find('Subproject commit') == -1): | ||||
|             self.added_line_error('Line ending (%s) is not CRLF' % repr(eol), | ||||
|                                   line) | ||||
|         if self.force_notabs and '\t' in line: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user