]> git.ipfire.org Git - thirdparty/git.git/commit - diff.c
Teach diff about -b and -w flags
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>
Wed, 14 Jun 2006 15:40:23 +0000 (17:40 +0200)
committerJunio C Hamano <junkio@cox.net>
Sat, 24 Jun 2006 00:35:27 +0000 (17:35 -0700)
commit0d21efa51cc7de5250d5da46bceacda78ba35373
tree7716a2c8723a3e5cf7d479654f47867d27451330
parentcda8ab59bbdb24b4ef87083781dac1f4f1b973a1
Teach diff about -b and -w flags

This adds -b (--ignore-space-change) and -w (--ignore-all-space) flags to
diff. The main part of the patch is teaching libxdiff about it.

[jc: renamed xdl_line_match() to xdl_recmatch() since the former is used
 for different purposes in xpatchi.c which is in the parts of the upstream
 source we do not use.]

Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Signed-off-by: Junio C Hamano <junkio@cox.net>
diff.c
diff.h
xdiff/xdiff.h
xdiff/xdiffi.c
xdiff/xdiffi.h
xdiff/xmacros.h
xdiff/xprepare.c
xdiff/xutils.c
xdiff/xutils.h