Code

Teach "git diff -p" Pascal/Delphi funcname pattern
authorAvery Pennarun <apenwarr@gmail.com>
Fri, 1 Aug 2008 21:00:15 +0000 (17:00 -0400)
committerJunio C Hamano <gitster@pobox.com>
Sat, 2 Aug 2008 22:39:35 +0000 (15:39 -0700)
commitb50005b79f6c77f9846c3f34ba319675fe489b72
treed88724db75a089f217a4e85ea6ccbb5e1439a01a
parentad8c1d92600da963692d57c213979e638c357f1a
Teach "git diff -p" Pascal/Delphi funcname pattern

Finds classes, records, functions, procedures, and sections.  Most lines
need to start at the first column, or else there's no way to differentiate
a procedure's definition from its declaration.

Signed-off-by: Avery Pennarun <apenwarr@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
diff.c