git-ls-files: Fix, document, and add test for --error-unmatch option.

Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
Carl Worth
2006-02-21 12:48:30 -08:00
committed by Junio C Hamano
parent d0080b3cda
commit c8af25ca01
3 changed files with 33 additions and 0 deletions

View File

@ -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;
}