aboutsummaryrefslogtreecommitdiffstats
path: root/git_deps/detector.py
diff options
context:
space:
mode:
Diffstat (limited to 'git_deps/detector.py')
-rw-r--r--git_deps/detector.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/git_deps/detector.py b/git_deps/detector.py
index faece5a..e138608 100644
--- a/git_deps/detector.py
+++ b/git_deps/detector.py
@@ -144,9 +144,9 @@ class DependencyDetector(object):
path = patch.delta.old_file.path
self.logger.debug(" Examining hunks in %s" % path)
for hunk in patch.hunks:
- self.blame_hunk(dependent, parent, path, hunk)
+ self.blame_diff_hunk(dependent, parent, path, hunk)
- def blame_hunk(self, dependent, parent, path, hunk):
+ def blame_diff_hunk(self, dependent, parent, path, hunk):
"""Run git blame on the parts of the hunk which exist in the
older commit in the diff. The commits generated by git blame
are the commits which the newer commit in the diff depends on,