Hi, On Wed, 4 Jun 2008, Victor Bogado da Silva Lins wrote: > I trying to refactor [in builtin-remote.c] rm into rm_or_rename, but I > stumbled into a problem, how do I free a remote struct obtained with > "remote_get"? At the moment, there is no way to do that. > Another possibility would be another way to check if a remote already > exists without allocating it in case it does. The need comes from > testing whether the destination name already exists, if it does exists I > must free the remote_get and bail_out. I think in the first step, you can just _not_ free() it, just die(). Ciao, Dscho -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html