Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4744efb commit 95897f9Copy full SHA for 95897f9
git/diff.py
@@ -258,7 +258,7 @@ class Diff(object):
258
NULL_BIN_SHA = b"\0" * 20
259
260
__slots__ = ("a_blob", "b_blob", "a_mode", "b_mode", "a_rawpath", "b_rawpath",
261
- "new_file", "deleted_file", "copied_file", "raw_rename_from",
+ "new_file", "deleted_file", "copied_file", "raw_rename_from",
262
"raw_rename_to", "diff", "change_type", "score")
263
264
def __init__(self, repo, a_rawpath, b_rawpath, a_blob_id, b_blob_id, a_mode,
@@ -432,7 +432,7 @@ def _index_from_patch_format(cls, repo, proc):
432
a_path, b_path = header.groups()
433
434
new_file, deleted_file, copied_file = \
435
- bool(new_file_mode), bool(deleted_file_mode), bool(copied_file_name)
+ bool(new_file_mode), bool(deleted_file_mode), bool(copied_file_name)
436
437
a_path = cls._pick_best_path(a_path, rename_from, a_path_fallback)
438
b_path = cls._pick_best_path(b_path, rename_to, b_path_fallback)
0 commit comments