Skip to content

Commit

Permalink
git p4: fix bug when verbose enabled with tag export
Browse files Browse the repository at this point in the history
Wrong variable name used when verbose enabled, causes failure.

Signed-off-by: Luke Diamand <luke@diamand.org>
Acked-by: Pete Wyckoff <pw@padd.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Luke Diamand authored and Junio C Hamano committed May 11, 2012
1 parent e71f6a5 commit 05a3cec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git-p4.py
Original file line number Diff line number Diff line change
Expand Up @@ -1257,7 +1257,7 @@ def exportGitTags(self, gitTags):

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
Expand Down

0 comments on commit 05a3cec

Please sign in to comment.