mirror of
				https://github.com/mfulz/qmk_firmware.git
				synced 2025-10-30 21:02:32 +01:00 
			
		
		
		
	Use --exclude-from=.gitignore in place of --exclude-standard (#17399)
This commit is contained in:
		
							parent
							
								
									ef80a1dd67
								
							
						
					
					
						commit
						0b1bed1d41
					
				| @ -111,9 +111,9 @@ def git_check_deviation(active_branch): | |||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| def git_get_ignored_files(check_dir='.'): | def git_get_ignored_files(check_dir='.'): | ||||||
|     """Return a list of files that would be captured by the current .gitingore |     """Return a list of files that would be captured by the current .gitignore | ||||||
|     """ |     """ | ||||||
|     invalid = cli.run(['git', 'ls-files', '-c', '-o', '-i', '--exclude-standard', check_dir]) |     invalid = cli.run(['git', 'ls-files', '-c', '-o', '-i', '--exclude-from=.gitignore', check_dir]) | ||||||
|     if invalid.returncode != 0: |     if invalid.returncode != 0: | ||||||
|         return [] |         return [] | ||||||
|     return invalid.stdout.strip().splitlines() |     return invalid.stdout.strip().splitlines() | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 precondition
						precondition