diff options
Diffstat (limited to 'git_deps/detector.py')
-rw-r--r-- | git_deps/detector.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/git_deps/detector.py b/git_deps/detector.py index afda3fa..425acb7 100644 --- a/git_deps/detector.py +++ b/git_deps/detector.py @@ -196,6 +196,11 @@ class DependencyDetector(object): dependency, dependency_sha1, path, line_num, line) + self.debug_hunk(line_range_before, line_range_after, hunk, + line_to_culprit) + + def debug_hunk(self, line_range_before, line_range_after, hunk, + line_to_culprit): diff_format = ' |%8.8s %5s %s%s' hunk_header = '@@ %s %s @@' % (line_range_before, line_range_after) self.logger.debug(diff_format % ('--------', '-----', '', hunk_header)) |