projects
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
git-ls-files: Fix, document, and add test for --error-unmatch option.
[git.git]
/
ls-files.c
diff --git
a/ls-files.c
b/ls-files.c
index
df93cf2
..
27059e2
100644
(file)
--- 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;
}