cvsserver: add comments about database schema/usage
[gitweb.git] / attr.c
diff --git a/attr.c b/attr.c
index cab01b8b57bd4bfa41d59ca344f9e8cf462cfcc3..887a9ae46b7044489845abf2072339271caf2d4a 100644 (file)
--- a/attr.c
+++ b/attr.c
@@ -306,7 +306,7 @@ static void free_attr_elem(struct attr_stack *e)
 }
 
 static const char *builtin_attr[] = {
-       "[attr]binary -diff -text",
+       "[attr]binary -diff -merge -text",
        NULL,
 };
 
@@ -353,8 +353,8 @@ static struct attr_stack *read_attr_from_file(const char *path, int macro_ok)
        int lineno = 0;
 
        if (!fp) {
-               if (errno != ENOENT)
-                       warning(_("unable to access '%s': %s"), path, strerror(errno));
+               if (errno != ENOENT && errno != ENOTDIR)
+                       warn_on_inaccessible(path);
                return NULL;
        }
        res = xcalloc(1, sizeof(*res));