diff options
author | Adam Spiers <git@adamspiers.org> | 2013-04-11 13:05:10 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-04-11 11:01:58 -0700 |
commit | ae3caf4c912429c8e9755f2e10d2f0a7f6279c36 (patch) | |
tree | 9dbc8d724521cf5903d6395c73c377509f11e13a /object.c | |
parent | t0008: remove duplicated test fixture data (diff) | |
download | tgif-ae3caf4c912429c8e9755f2e10d2f0a7f6279c36.tar.xz |
check-ignore: add -n / --non-matching option
If `-n` or `--non-matching` are specified, non-matching pathnames will
also be output, in which case all fields in each output record except
for <pathname> will be empty. This can be useful when running
check-ignore as a background process, so that files can be
incrementally streamed to STDIN, and for each of these files, STDOUT
will indicate whether that file matched a pattern or not. (Without
this option, it would be impossible to tell whether the absence of
output for a given file meant that it didn't match any pattern, or
that the result simply hadn't been flushed to STDOUT yet.)
Signed-off-by: Adam Spiers <git@adamspiers.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'object.c')
0 files changed, 0 insertions, 0 deletions