From: Jeff King Date: Tue, 13 Jun 2017 00:57:24 GMT Subject: Re: [PATCH 2/4] config: remove git_config_iter Message-ID: <20170613005723.fd54nx7fazclutlz@sigill.intra.peff.net> In-Reply-To: <20170613004911.GA133952@aiede.mtv.corp.google.com> On Mon, Jun 12, 2017 at 05:49:11PM -0700, Jonathan Nieder wrote: > > Since there is no implementation of the function 'git_config_iter' lets > > stop exporting it and remove the prototype from config.h. > > > > Signed-off-by: Brandon Williams > > --- > > config.h | 1 - > > 1 file changed, 1 deletion(-) > > Good eyes. Looks like the function never existed. You can find mention of it on the list[1,2] in early versions of Tanay's patches. I think it was originally intended to be a variant of git_config() that used the cache. But in the end, we made git_config() do that by default (and added git_config_raw as its underlying helper). I just looked that up to satisfy my curiosity. You are right that its implementation never actually got committed, and clearly removing the declaration is the right thing. -Peff [1] http://public-inbox.org/git/1404280905-26763-2-git-send-email-tanayabh@gmail.com/ [2] http://public-inbox.org/git/xmqqd2dnitm7.fsf@gitster.dls.corp.google.com/