Teach the '--exclude' option to 'diff --no-index'
commit22a400a1cd24fdb3da9d2cfc7b11fd796f1ee3ad
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Fri, 20 Feb 2009 13:55:49 +0000 (20 14:55 +0100)
committerJohannes Schindelin <johannes.schindelin@gmx.de>
Sun, 7 Feb 2010 21:59:47 +0000 (7 22:59 +0100)
tree8d61c776920fc027740982fe1c85a2255823c3da
parent914fdfa121bc4fcbb2a996ca06282e95c01b65ec
Teach the '--exclude' option to 'diff --no-index'

With this patch, it is possible to exclude files based on basename
patterns.  Example:

$ git diff --no-index -x Makefile -x Makefile.am a/ b/

In this example, the recursive diff between a/ and b/ will be shown
modulo changes in files named 'Makefile' or 'Makefile.am'.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
diff-no-index.c
diff.c
diff.h