From: Mark Levedahl Date: Sun, 12 Oct 2008 20:23:18 GMT Subject: Re: [PATCH] compat/cygwin.c - Use cygwin's stat if core.filemode == true Message-ID: <48F25CB6.10702@gmail.com> In-Reply-To: <7vskr1fvys.fsf@gitster.siamese.dyndns.org> Junio C Hamano wrote: > Before you do that, can you explain why git_cygwin_config() should > duplicate the setting of that variable instead of using the existing > parser for that variable by calling git_default_config()? > > I don't like traversing the same list of configuration variables / files twice, each time looking for a different variable just so that one of those traversals can use a standard function, rather than just traversing once and getting exactly what this routine needs; this seems wasteful to me. However, I am (obviously) not the maintainer of this code so I will do this however it is desired. Mark