# HG changeset patch # User Mads Kiilerich # Date 2013-06-28 02:26:13 # Node ID 35be05089010120778780030ec5bcbacb7b84a6c # Parent 6e65b53a03a76b11c3d4a3c8fd2ae4358dd572ed diff: don't show content of deleted files diff --git a/kallithea/lib/diffs.py b/kallithea/lib/diffs.py --- a/kallithea/lib/diffs.py +++ b/kallithea/lib/diffs.py @@ -438,9 +438,9 @@ class DiffProcessor(object): chunks = [] if op == 'D' and chunks: - # if not full diff mode show deleted file contents - if self.diff_limit is not None: - chunks = [] + # a way of seeing deleted content could perhaps be nice - but + # not with the current UI + chunks = [] chunks.insert(0, [{ 'old_lineno': '',