]> git.ipfire.org Git - thirdparty/git.git/commit - diff.h
Support for pickaxe matching regular expressions
authorPetr Baudis <pasky@suse.cz>
Wed, 29 Mar 2006 00:16:33 +0000 (02:16 +0200)
committerJunio C Hamano <junkio@cox.net>
Tue, 4 Apr 2006 20:44:15 +0000 (13:44 -0700)
commitd01d8c6782850c18d62676dae3c72ad73be1e52e
tree01fe7875ac96d7170e6bdaffee2cfdb88a0dcd65
parent810e1523753553968aac827f57e0e24fc9af6546
Support for pickaxe matching regular expressions

git-diff-* --pickaxe-regex will change the -S pickaxe to match
POSIX extended regular expressions instead of fixed strings.

The regex.h library is a rather stupid interface and I like pcre too, but
with any luck it will be everywhere we will want to run Git on, it being
POSIX.2 and all. I'm not sure if we can expect platforms like AIX to
conform to POSIX.2 or if win32 has regex.h. We might add a flag to
Makefile if there is a portability trouble potential.

Signed-off-by: Petr Baudis <pasky@suse.cz>
Documentation/diff-options.txt
diff.c
diff.h
diffcore-pickaxe.c