Show More
@@ -392,7 +392,7 class DiffProcessor(object): | |||||
392 | stats['ops'][RENAMED_FILENODE] = ('file renamed from %s to %s' |
|
392 | stats['ops'][RENAMED_FILENODE] = ('file renamed from %s to %s' | |
393 | % (head['rename_from'], head['rename_to'])) |
|
393 | % (head['rename_from'], head['rename_to'])) | |
394 | # COPY |
|
394 | # COPY | |
395 |
if head |
|
395 | if head.get('copy_from') and head.get('copy_to'): | |
396 | op = 'M' |
|
396 | op = 'M' | |
397 | stats['binary'] = True |
|
397 | stats['binary'] = True | |
398 | stats['ops'][COPIED_FILENODE] = ('file copied from %s to %s' |
|
398 | stats['ops'][COPIED_FILENODE] = ('file copied from %s to %s' |
General Comments 0
You need to be logged in to leave comments.
Login now