Re: [PATCH v2] Fix remote.<remote>.vcs
On Wed, Jan 27, 2010 at 01:39:00PM -0500, Daniel Barkalow wrote:
Show 10 quoted lines
> On Wed, 27 Jan 2010, Ilari Liusvaara wrote:
> >
> > if (!remote)
> > die("No remote provided to transport_get()");
> >
> > ret->remote = remote;
> > + helper = remote->foreign_vcs;
>
> Needs to be "helper = remote ? remote->foreign_vcs : NULL", for the same
> reason that the test below had been "remote && remote->foreign_vcs".Few lines above that:
if (!remote)
die("No remote provided to transport_get()");-Ilari