Re: Implementing branch attributes in git config

From: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Date: 2006-05-08 11:27:57
Hi,

On Sun, 7 May 2006, Pavel Roskin wrote:

> On Mon, 2006-05-08 at 03:05 +0200, Johannes Schindelin wrote:
> > The ["blablabla"] syntax fails the is-it-obvious-what-this-does test. What 
> > *is* wrong with the " for " syntax? IIRC it was even proposed by you, and 
> > it happens to be backward compatible.
> 
> [branchdata]
> description = "netdev" for "Network device development"
> 
> and this
> 
> [branchdata]
> description = "Network device development" for "netdev"

The latter was how I recall the syntax proposed for proxies.

> Now, how can I get a description for the "netdev" branch by one
> git-repo-config command, without pipes?

	git-repo-config --get branchdata.description ' for netdev$'

Hth,
Dscho

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Mon May 08 11:28:09 2006

This archive was generated by hypermail 2.1.8 : 2006-05-08 11:30:37 EST