summaryrefslogtreecommitdiff
path: root/git_crecord/crpatch.py
diff options
context:
space:
mode:
Diffstat (limited to 'git_crecord/crpatch.py')
-rw-r--r--git_crecord/crpatch.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/git_crecord/crpatch.py b/git_crecord/crpatch.py
index 7b9c2e1..ad587e3 100644
--- a/git_crecord/crpatch.py
+++ b/git_crecord/crpatch.py
@@ -521,6 +521,7 @@ class Hunk(PatchNode):
):
def trimcontext(number, lines):
delta = len(lines) - self.maxcontext
+ # TODO: why is this disabled?
if False and delta > 0:
return number + delta, lines[:self.maxcontext]
return number, lines