diff options
-rw-r--r-- | git_deps/detector.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/git_deps/detector.py b/git_deps/detector.py index 25c9278..1c78a42 100644 --- a/git_deps/detector.py +++ b/git_deps/detector.py @@ -110,6 +110,12 @@ class DependencyDetector(object): del self.todo_d[dependent_sha1] self.logger.debug(" Processing %s from TODO list" % dependent_sha1[:8]) + + if dependent_sha1 in self.done_d: + self.logger.debug(" %s already done previously" % + dependent_sha1) + continue + self.notify_listeners('new_commit', dependent) for parent in dependent.parents: |