Thread (4 messages) flat view 4 messages, 3 authors, 2016-06-15

Re: [PATCH v2] Fix remote.<remote>.vcs

From: Ilari Liusvaara <hidden>
Date: 2016-06-15 22:48:07

On Wed, Jan 27, 2010 at 01:39:00PM -0500, Daniel Barkalow wrote:
On Wed, 27 Jan 2010, Ilari Liusvaara wrote:
quoted
 
 	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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help