Show More
@@ -970,7 +970,12 b' class PullRequestModel(BaseModel):' | |||
|
970 | 970 | |
|
971 | 971 | old_hash = old_files.get(new_filename) |
|
972 | 972 | if not old_hash: |
|
973 |
# file is not present in old diff, |
|
|
973 | # file is not present in old diff, we have to figure out from parsed diff | |
|
974 | # operation ADD/REMOVE | |
|
975 | operations_dict = diff_data['stats']['ops'] | |
|
976 | if diffs.DEL_FILENODE in operations_dict: | |
|
977 | removed_files.append(new_filename) | |
|
978 | else: | |
|
974 | 979 | added_files.append(new_filename) |
|
975 | 980 | else: |
|
976 | 981 | if new_hash != old_hash: |
General Comments 0
You need to be logged in to leave comments.
Login now