From c8af25ca0157146de59b992c1f961f1af8465995 Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Tue, 21 Feb 2006 12:48:30 -0800 Subject: git-ls-files: Fix, document, and add test for --error-unmatch option. Signed-off-by: Junio C Hamano --- ls-files.c | 1 + 1 file changed, 1 insertion(+) (limited to 'ls-files.c') diff --git a/ls-files.c b/ls-files.c index df93cf226..27059e204 100644 --- a/ls-files.c +++ b/ls-files.c @@ -758,6 +758,7 @@ int main(int argc, const char **argv) continue; error("pathspec '%s' did not match any.", pathspec[num] + prefix_offset); + errors++; } return errors ? 1 : 0; } -- cgit v1.2.1