Commits

Alexander Tikhonov committed 3da34e9

Fix git_tags method

Comments (0)

Files changed (1)

             args.extend([key, kwargs[key]])
         if points_at:
             args.extend(['--points-at', points_at])
-        if template:
-            args.append(template)
+        if pattern:
+            args.append(pattern)
         res = self.git_command("tag", "-l", *args)
         return [tag for tag in res.split("\n") if tag]