Show More
@@ -605,8 +605,8 b' class FilesController(BaseRepoController' | |||||
605 | def diff(self, repo_name, f_path): |
|
605 | def diff(self, repo_name, f_path): | |
606 | ignore_whitespace = request.GET.get('ignorews') == '1' |
|
606 | ignore_whitespace = request.GET.get('ignorews') == '1' | |
607 | line_context = request.GET.get('context', 3) |
|
607 | line_context = request.GET.get('context', 3) | |
608 | diff1 = request.GET.get('diff1', '') |
|
|||
609 | diff2 = request.GET.get('diff2', '') |
|
608 | diff2 = request.GET.get('diff2', '') | |
|
609 | diff1 = request.GET.get('diff1', '') or diff2 | |||
610 | c.action = request.GET.get('diff') |
|
610 | c.action = request.GET.get('diff') | |
611 | c.no_changes = diff1 == diff2 |
|
611 | c.no_changes = diff1 == diff2 | |
612 | c.f_path = f_path |
|
612 | c.f_path = f_path |
General Comments 0
You need to be logged in to leave comments.
Login now