Start preparing the API documents.
[gitweb.git] / ws.c
diff --git a/ws.c b/ws.c
index d7d1522f8a177639d3269e5e9a83be39a14a7d89..46cbdd63793aad534d8d8b640df7fd2e86c7d915 100644 (file)
--- a/ws.c
+++ b/ws.c
@@ -101,16 +101,16 @@ char *whitespace_error_string(unsigned ws)
        struct strbuf err;
        strbuf_init(&err, 0);
        if (ws & WS_TRAILING_SPACE)
-               strbuf_addstr(&err, "Adds trailing whitespace");
+               strbuf_addstr(&err, "trailing whitespace");
        if (ws & WS_SPACE_BEFORE_TAB) {
                if (err.len)
                        strbuf_addstr(&err, ", ");
-               strbuf_addstr(&err, "Space in indent is followed by a tab");
+               strbuf_addstr(&err, "space before tab in indent");
        }
        if (ws & WS_INDENT_WITH_NON_TAB) {
                if (err.len)
                        strbuf_addstr(&err, ", ");
-               strbuf_addstr(&err, "Indent more than 8 places with spaces");
+               strbuf_addstr(&err, "indent with spaces");
        }
        return strbuf_detach(&err, NULL);
 }