aboutsummaryrefslogtreecommitdiffstats
path: root/git_deps
diff options
context:
space:
mode:
Diffstat (limited to 'git_deps')
-rw-r--r--git_deps/listener/cli.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/git_deps/listener/cli.py b/git_deps/listener/cli.py
index 01bf4df..b5f8bb9 100644
--- a/git_deps/listener/cli.py
+++ b/git_deps/listener/cli.py
@@ -32,6 +32,9 @@ class CLIDependencyListener(DependencyListener):
if self.options.multi:
if self.options.log:
print("%s depends on:" % dependent_sha1)
+ if self._revs[dependency_sha1] > 1:
+ print("commit %s (already shown above)\n"
+ % dependency_sha1)
else:
print("%s %s" % (dependent_sha1, dependency_sha1))
else: