From: Johannes Schindelin Date: Wed, 18 Jan 2017 12:38:50 GMT Subject: Re: [PATCH 2/2] Be more careful when determining whether a remote was configured Message-ID: In-Reply-To: Hi Junio, On Tue, 17 Jan 2017, Junio C Hamano wrote: > Perhaps instead of adding "is it configured?" flag that is too > broadly named and has too narrow meaning, would it make more sense > to introduce "int can_prune(struct remote *remote)" that looks at > the remote refspecs? That ("can we prune?") is not the question we need to ask when determining whether we can rename a remote to a new name. Ciao, Johannes