Honor --silent for labels
authorSimon Hausmann <simon@luria.(none)>
Sun, 8 Apr 2007 07:00:55 +0000 (09:00 +0200)
committerSimon Hausmann <simon@luria.(none)>
Sun, 8 Apr 2007 07:00:55 +0000 (09:00 +0200)
git-p4

diff --git a/git-p4 b/git-p4
index fcdfe22..65660e1 100755 (executable)
--- a/git-p4
+++ b/git-p4
@@ -807,7 +807,7 @@ class P4Sync(Command):
         self.labels = {}
 
         l = p4CmdList("labels %s..." % self.globalPrefix)
-        if len(l) > 0:
+        if len(l) > 0 and not silent:
             print "Finding files belonging to labels in %s" % self.globalPrefix
 
         for output in l: