Re: [PATCH] remote: filter out invalid remote configurations

2013-08-30 Thread Junio C Hamano
Carlos Martín Nieto writes: > On Tue, 2013-08-27 at 07:50 -0700, Junio C Hamano wrote: >> Carlos Martín Nieto writes: >> >> > In remote's configuration callback, anything that looks like >> > 'remote..*' creates a remote ''. This remote may not end >> > up having any configuration for a remote,

Re: [PATCH] remote: filter out invalid remote configurations

2013-08-30 Thread Carlos Martín Nieto
On Tue, 2013-08-27 at 07:50 -0700, Junio C Hamano wrote: > Carlos Martín Nieto writes: > > > In remote's configuration callback, anything that looks like > > 'remote..*' creates a remote ''. This remote may not end > > up having any configuration for a remote, but it's still in the list, > > so '

Re: [PATCH] remote: filter out invalid remote configurations

2013-08-27 Thread Junio C Hamano
Carlos Martín Nieto writes: > In remote's configuration callback, anything that looks like > 'remote..*' creates a remote ''. This remote may not end > up having any configuration for a remote, but it's still in the list, > so 'git remote' shows it, which means something like > > [remote "bog

[PATCH] remote: filter out invalid remote configurations

2013-08-27 Thread Carlos Martín Nieto
In remote's configuration callback, anything that looks like 'remote..*' creates a remote ''. This remote may not end up having any configuration for a remote, but it's still in the list, so 'git remote' shows it, which means something like [remote "bogus"] hocus = pocus will show a r