Show More
@@ -332,11 +332,11 b' class PullrequestsController(BaseRepoCon' | |||
|
332 | 332 | |
|
333 | 333 | diff_limit = self.cut_off_limit if not fulldiff else None |
|
334 | 334 | |
|
335 | #we swap org/other ref since we run a simple diff on one repo | |
|
335 | # we swap org/other ref since we run a simple diff on one repo | |
|
336 | 336 | log.debug('running diff between %s@%s and %s@%s' |
|
337 | 337 | % (org_repo.scm_instance.path, org_ref, |
|
338 | 338 | other_repo.scm_instance.path, other_ref)) |
|
339 |
_diff = org_repo.scm_instance.get_diff(rev1=safe_str(or |
|
|
339 | _diff = org_repo.scm_instance.get_diff(rev1=safe_str(other_ref[1]), rev2=safe_str(org_ref[1])) | |
|
340 | 340 | |
|
341 | 341 | diff_processor = diffs.DiffProcessor(_diff or '', format='gitdiff', |
|
342 | 342 | diff_limit=diff_limit) |
General Comments 0
You need to be logged in to leave comments.
Login now