X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=ws.c;h=b498d7599d5ac09c2688ee829b29aa36a866ac9c;hb=bc62ca13c03a7f73b7091c26093c552776b749ee;hp=9fb9b14760b100972a1adb5198bff9d6a9941808;hpb=6d1cdadbeeb03f40250526e29b1f1a91582911d8;p=git.git diff --git a/ws.c b/ws.c index 9fb9b1476..b498d7599 100644 --- a/ws.c +++ b/ws.c @@ -88,7 +88,7 @@ unsigned whitespace_rule(const char *pathname) struct git_attr_check attr_whitespace_rule; setup_whitespace_attr_check(&attr_whitespace_rule); - if (!git_checkattr(pathname, 1, &attr_whitespace_rule)) { + if (!git_check_attr(pathname, 1, &attr_whitespace_rule)) { const char *value; value = attr_whitespace_rule.value;