ask git to detect renames
This commit is contained in:
		
							parent
							
								
									e37c851af1
								
							
						
					
					
						commit
						37065ac0ae
					
				| @ -16,7 +16,7 @@ def subprocess_readlines(cmd, cwd=None) -> Iterator[str]: | ||||
| 
 | ||||
| 
 | ||||
| def get_changed_files(since, until, diff_filter=None, cwd=None): | ||||
|     command = ['git', 'diff-tree', '-r'] | ||||
|     command = ['git', 'diff-tree', '-r', '-M'] | ||||
|     if diff_filter: | ||||
|         command.extend([f'--diff-filter={diff_filter}']) | ||||
|     command.extend([since, until]) | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user