Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
remote: refactor some logic into get_stale_heads()
[gitweb.git]
/
builtin-stripspace.c
diff --git
a/builtin-stripspace.c
b/builtin-stripspace.c
index d6e3896c006796ccca12c00de45e36583387f05b..1fd2205d530ad510a18ff5a441ca7b5cb1cc34a6 100644
(file)
--- 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);