From: Junio C Hamano Date: Sun, 23 Jun 2013 20:37:00 GMT Subject: Re: [PATCH] add--interactive: respect diff.algorithm Message-ID: <7v4ncoftsj.fsf@alter.siamese.dyndns.org> In-Reply-To: <20130623195017.GI4676@serenity.lan> John Keeping writes: > The patch below involves deeper Perl magic than I fully grok, but > wouldn't it be simpler to simply use the fact that the string is > "command --options..." and use: > > splice @diff_cmd 1, 0, "--diff-algorithm=${diff_algorithm}"; That inserts the extra options as the first thing on the command line, which is also fine.