Re: [PATCH/RFC] branch: add optional parameter to -r to specify remote
- From
Jeff King <peff@peff.net>
- Date
- Jun 20, 2011, 07:03 UTC
- Message-ID
- <20110620070316.GA15246@sigill.intra.peff.net>
- In-Reply-To
- <4DFEEB60.5000005@viscovery.net>
On Mon, Jun 20, 2011 at 08:40:32AM +0200, Johannes Sixt wrote:
Show 13 quoted lines
> > $ git branch --match "jk/*" > > > > to show only local topic branches whose names match the given blob. > > I would hate having to learn a new syntax '--match "jk/*"' when we can > already say > > $ git log --remotes > $ git log --remotes=alice --remotes=bob > $ git log --remotes="jk/*" > > IMO, it is the right approach to have a long option --remotes with an > optional argument.
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