git-mr-fetch: fetch mr ref with tags
authorFrantisek Hrbata <frantisek@hrbata.com>
Tue, 8 Dec 2020 13:19:51 +0000 (14:19 +0100)
committerFrantisek Hrbata <frantisek@hrbata.com>
Tue, 8 Dec 2020 13:19:51 +0000 (14:19 +0100)
Signed-off-by: Frantisek Hrbata <frantisek@hrbata.com>
git-mr-fetch

index c5b13eed8f5f37849b60f68e87fafa23f36d366e..8a9add1e7687febde94205cba2d54ce744a89c56 100755 (executable)
@@ -59,13 +59,13 @@ if args.head:
     types += ["head"]
 
 if args.tags:
-    types += ["tags"]
+    types += ["tags", "mr"]
 
 if args.mbox:
     types += ["mbox"]
 
 if not types:
-    types = ["head", "mbox", "tags"]
+    types = ["head", "mbox", "tags", "mr"]
 
 if args.force:
     newrefs = mrlib.filter_refs(newrefs, mrs=mrs, types=types)