X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=builtin%2Fstripspace.c;h=f16986c0ae811f6b998d20be39da1af6095fcfe8;hb=f1c12e1b4af2eec4eefff9350b74601b36f51d85;hp=4d3b93fedb5f2eca68edca15ca1e10cb60176d36;hpb=bcf3d1fd9ccc04350d793c077d3c112fb26f43f0;p=git.git diff --git a/builtin/stripspace.c b/builtin/stripspace.c index 4d3b93fed..f16986c0a 100644 --- a/builtin/stripspace.c +++ b/builtin/stripspace.c @@ -22,8 +22,6 @@ static size_t cleanup(char *line, size_t len) * Remove empty lines from the beginning and end * and also trailing spaces from every line. * - * Note that the buffer will not be NUL-terminated. - * * Turn multiple consecutive empty lines between paragraphs * into just one empty line. * @@ -77,7 +75,7 @@ int cmd_stripspace(int argc, const char **argv, const char *prefix) !strcmp(argv[1], "--strip-comments"))) strip_comments = 1; else if (argc > 1) - usage("git stripspace [-s | --strip-comments] < "); + usage("git stripspace [-s | --strip-comments] < input"); if (strbuf_read(&buf, 0, 1024) < 0) die_errno("could not read the input");