Michael J Gruber <git@xxxxxxxxxxxxxxxxxxxx> writes: >> For that matter, --match should be spelled "--glob", as we already have: >> >> $ git log --glob='jk/*' >> >> I think having the ref-selection for "git branch" match that of the >> revision walker makes sense. >> >> -Peff > > Well, "branch" is about refs, and "log" about revs. Not really. What "log" output by traversing is about revisions, but we are discussing how the command line argument discover the set of refs to feed into the underlying machinery that does different things in each of the command (branch just lists them without any traversal, log shows history leading to the commits). So I do not see any difference and I think it would be appropriate if we can use the same notation to specify both "I want to see all branches that match this pattern" and "I want to see history leading to all refs that match this pattern". > I'd rather have > "branch" similar to "tag" in that respect (i.e. '-l'). And "tag --glob='*'" also falls into the same class from that point of view: "I want to see all tags that match this pattern". Thanks. -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html