On Fri, Aug 30, 2013 at 6:55 PM, Junio C Hamano <gits...@pobox.com> wrote:
> People often find "git log --branches" etc. that includes _all_
> branches is cumbersome to use when they want to grab most but except
> some. The same applies to --tags, --all and --glob.
This idea looks very familiar, from the wording of this commit message
it seems you came with the idea out of nowhere. Did you?
> Teach the revision machinery to remember patterns, and then upon the
> next such a globbing option, exclude those that match the pattern.
> With this, I can view only my integration branches (e.g. maint,
> master, etc.) without topic branches, which are named after two
> letters from primary authors' names, slash and topic name.
> git rev-list --no-walk --exclude=??/* --branches |
> git name-rev --refs refs/heads/* --stdin
My patch does the trick with:
--branches --except --glob='heads/??/*'
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html