Code

Merge fix bits from jc/rev-list
[git.git] / ls-files.c
index c533059d0a0cf5969b6d7309ed7840e935eebfe0..90b289f03d987c6c90214fc12d00c30b4e28bb27 100644 (file)
@@ -778,6 +778,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;
        }