The Makefile is now aware of Documentation/ include directives
[gitweb.git] / diff-files.c
index 0cf2c244100e4266c00eddf430a28ed2d859fa4a..c51edc3315100d8ec75eec72ec2f8a7e3753ad98 100644 (file)
@@ -111,7 +111,7 @@ int main(int argc, char **argv)
                        continue;
                }
  
-               if (stat(ce->name, &st) < 0) {
+               if (lstat(ce->name, &st) < 0) {
                        if (errno != ENOENT) {
                                perror(ce->name);
                                continue;