X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=builtin-stripspace.c;h=1fd2205d530ad510a18ff5a441ca7b5cb1cc34a6;hb=04ce83e2b9a1f1512d3d0c873e8f13d06761620c;hp=d6e3896c006796ccca12c00de45e36583387f05b;hpb=75b44066f3ed7cde238cdea1f0bf9e2f1744c820;p=git.git diff --git a/builtin-stripspace.c b/builtin-stripspace.c index d6e3896c0..1fd2205d5 100644 --- a/builtin-stripspace.c +++ b/builtin-stripspace.c @@ -78,7 +78,7 @@ int cmd_stripspace(int argc, const char **argv, const char *prefix) strip_comments = 1; if (strbuf_read(&buf, 0, 1024) < 0) - die("could not read the input"); + die_errno("could not read the input"); stripspace(&buf, strip_comments);