+ int i, columns = 3;
+
+ if (!tip)
+ tip = ctx.qry.head;
+
+ argv[1] = disambiguate_ref(tip);
+
+ if (grep && pattern && (!strcmp(grep, "grep") ||
+ !strcmp(grep, "author") ||
+ !strcmp(grep, "committer")))
+ argv[argc++] = fmt("--%s=%s", grep, pattern);