Thread (5 messages) flat view 5 messages, 2 authors, 2016-06-15

[PATCHv1 2/3] git p4: fix bug when verbose enabled with tag export

From: Luke Diamand <hidden>
Date: 2016-06-15 22:53:48
Subsystem: the rest · Maintainer: Linus Torvalds

Wrong variable name used when verbose enabled, causes failure.

Signed-off-by: Luke Diamand <redacted>
---
 git-p4.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/git-p4.py b/git-p4.py
index 565cfbc..8f0169a 100755
--- a/git-p4.py
+++ b/git-p4.py
@@ -1302,7 +1302,7 @@ class P4Submit(Command, P4UserMap):
 
             if not m.match(name):
                 if verbose:
-                    print "tag %s does not match regexp %s" % (name, validTagRegexp)
+                    print "tag %s does not match regexp %s" % (name, validLabelRegexp)
                 continue
 
             # Get the p4 commit this corresponds to
-- 
1.7.10.282.g2120.dirty
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help