[PATCH] Give show-files the ability to process exclusion pattern.
authorNicolas Pitre <nico@cam.org>
Thu, 28 Apr 2005 18:44:04 +0000 (11:44 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Thu, 28 Apr 2005 18:44:04 +0000 (11:44 -0700)
commit9ff768e9408b2afac5dbb484eb5c301312bdee80
tree8b1c0cc74e6300e00b1578332c12180195dd1daa
parentb836825b55d59ea3dde5c495cc03ff9343c2b485
[PATCH] Give show-files the ability to process exclusion pattern.

This can be used with the famous dontdiff file as follows to find out
about uncommitted files just like dontdiff is used with the diff
command:

    show-files --others --exclude-from=dontdiff

and the exclude list can be reversed with the --ignore switch.

Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
show-files.c