equal
deleted
inserted
replaced
141 if line.startswith('diff --git'): |
141 if line.startswith('diff --git'): |
142 m = gitre.match(line) |
142 m = gitre.match(line) |
143 if m: |
143 if m: |
144 if gp: |
144 if gp: |
145 gitpatches.append(gp) |
145 gitpatches.append(gp) |
146 src, dst = m.group(1,2) |
146 src, dst = m.group(1, 2) |
147 gp = gitpatch(dst) |
147 gp = gitpatch(dst) |
148 gp.lineno = lineno |
148 gp.lineno = lineno |
149 elif gp: |
149 elif gp: |
150 if line.startswith('--- '): |
150 if line.startswith('--- '): |
151 if gp.op in ('COPY', 'RENAME'): |
151 if gp.op in ('COPY', 'RENAME'): |