Mercurial > kallithea
changeset 4290:35be05089010
diff: don't show content of deleted files
author | Mads Kiilerich <madski@unity3d.com> |
---|---|
date | Fri, 28 Jun 2013 02:26:13 +0200 |
parents | 6e65b53a03a7 |
children | c2e3923eebe4 |
files | kallithea/lib/diffs.py |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/kallithea/lib/diffs.py Wed Jun 12 12:23:20 2013 +0200 +++ b/kallithea/lib/diffs.py Fri Jun 28 02:26:13 2013 +0200 @@ -438,9 +438,9 @@ 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': '',