equal
deleted
inserted
replaced
862 diffgit_re = re.compile('diff --git a/(.*) b/(.*)$') |
862 diffgit_re = re.compile('diff --git a/(.*) b/(.*)$') |
863 diff_re = re.compile('diff -r .* (.*)$') |
863 diff_re = re.compile('diff -r .* (.*)$') |
864 allhunks_re = re.compile('(?:index|deleted file) ') |
864 allhunks_re = re.compile('(?:index|deleted file) ') |
865 pretty_re = re.compile('(?:new file|deleted file) ') |
865 pretty_re = re.compile('(?:new file|deleted file) ') |
866 special_re = re.compile('(?:index|deleted|copy|rename|new mode) ') |
866 special_re = re.compile('(?:index|deleted|copy|rename|new mode) ') |
867 newfile_re = re.compile('(?:new file)') |
867 newfile_re = re.compile('(?:new file|copy to)') |
868 |
868 |
869 def __init__(self, header): |
869 def __init__(self, header): |
870 self.header = header |
870 self.header = header |
871 self.hunks = [] |
871 self.hunks = [] |
872 |
872 |