From: Junio C Hamano Date: Tue, 08 Jun 2010 21:05:24 GMT Subject: Re: [PATCH] git-mergetool--lib.sh: fix mergetool..* configurations ignored for known tools Message-ID: <7vzkz5s0a3.fsf@alter.siamese.dyndns.org> In-Reply-To: <20100608083445.GC14366@gmail.com> David Aguilar writes: > Hi, sorry for the delay in responding to this email. Thanks for a review. > I don't think we ever signed up to support this configuration. > mergetool..path has always (from my naive reading of the > documentation) been the absolute path to . > > I don't think it should have a dual-role where it can be either > the tool's parent directory or the path to the tool itself. > I would prefer to keep it as simple as possible, if we can. I concur; it is not just about simplicity, but setting the value to the parent directory of the tool feels downright confusing. >> + # mergetool..path is the same as mergetool..cmd >> ... >> + fi > > This section is getting pretty nested. > Should we break the handling for configs-that-override-builtins > into a separate function? Sounds like a sane thing to do.