aboutsummaryrefslogtreecommitdiffstats
path: root/git_deps
diff options
context:
space:
mode:
Diffstat (limited to 'git_deps')
-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 8e977cc..d358f12 100644
--- a/git_deps/detector.py
+++ b/git_deps/detector.py
@@ -118,8 +118,8 @@ class DependencyDetector(object):
self.notify_listeners('new_commit', dependent)
- for parent in dependent.parents:
- self.find_dependencies_with_parent(dependent, parent)
+ parent = dependent.parents[0]
+ self.find_dependencies_with_parent(dependent, parent)
self.done.append(dependent_sha1)
self.done_d[dependent_sha1] = True
self.logger.info(" Found all dependencies for %s" %