projects
/
platform
/
upstream
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Imported Upstream version 2.14.3
[platform/upstream/git.git]
/
rerere.c
diff --git
a/rerere.c
b/rerere.c
index
70634d4
..
51376cf
100644
(file)
--- a/
rerere.c
+++ b/
rerere.c
@@
-258,7
+258,7
@@
static int write_rr(struct string_list *rr, int out_fd)
rerere_id_hex(id),
rr->items[i].string, 0);
- if (write_in_full(out_fd, buf.buf, buf.len)
!= buf.len
)
+ if (write_in_full(out_fd, buf.buf, buf.len)
< 0
)
die("unable to write rerere record");
strbuf_release(&buf);