Files
git/Documentation
Jonathan Nieder 71a5d4bc0e diff: funcname and word patterns for perl
The default function name discovery already works quite well for Perl
code... with the exception of here-documents (or rather their ending).

 sub foo {
	print <<END
 here-document
 END
	return 1;
 }

The default funcname pattern treats the unindented END line as a
function declaration and puts it in the @@ line of diff and "grep
--show-function" output.

With a little knowledge of perl syntax, we can do better.  You can
try it out by adding "*.perl diff=perl" to the gitattributes file.

Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2010-12-27 08:47:21 -08:00
..
2010-11-24 15:55:19 -08:00
2010-12-03 16:10:36 -08:00
2010-12-19 17:49:42 -08:00
2010-07-20 16:52:53 -07:00
2010-12-16 16:36:03 -08:00
2010-10-13 20:20:09 -07:00
2010-12-19 17:49:42 -08:00
2010-12-08 11:24:12 -08:00
2010-11-23 12:15:43 -08:00
2010-12-07 13:13:21 -08:00
2010-12-10 16:36:53 -08:00
2010-11-09 09:42:57 -08:00
2010-02-14 18:23:16 -08:00
2010-12-16 21:43:08 -08:00
2010-07-05 13:39:02 -07:00
2010-11-24 15:13:58 -08:00
2010-07-20 16:59:17 -07:00