Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'tz/notes-error-to-stderr' into maint
[gitweb.git]
/
builtin
/
rerere.c
diff --git
a/builtin/rerere.c
b/builtin/rerere.c
index ffb66e29073c07c43197ae34f2c31d3b9b610903..0bc40298c2417a6d1f25aafb4b3577243e985c57 100644
(file)
--- a/
builtin/rerere.c
+++ b/
builtin/rerere.c
@@
-18,7
+18,7
@@
static int outf(void *dummy, mmbuffer_t *ptr, int nbuf)
{
int i;
for (i = 0; i < nbuf; i++)
- if (write_in_full(1, ptr[i].ptr, ptr[i].size)
!= ptr[i].size
)
+ if (write_in_full(1, ptr[i].ptr, ptr[i].size)
< 0
)
return -1;
return 0;
}