From: Linus Torvalds Date: Wed, 04 Jul 2007 18:41:34 GMT Subject: Re: [PATCH 2/2] diff: add custom regular expressions for function names Message-ID: In-Reply-To: On Wed, 4 Jul 2007, Johannes Schindelin wrote: > > This patch introduces a config variable diff.functionNameRegexp > which replaces the default heuristics. If the pattern contains > a group, the match of this group is used for the hunk header > instead of the whole match. Umm. Shouldn't it be a path-name based attribute instead? That way you can set it to be different things for different source files in the same repository.. IOW, think mixed Java/C codebases. Linus