Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
sha1_file: restore OBJECT_INFO_QUICK functionality
[gitweb.git]
/
t
/
helper
/
test-delta.c
diff --git
a/t/helper/test-delta.c
b/t/helper/test-delta.c
index 59937dc1be1c4f0b3d80e3ef3a86e09bff3703b6..591730adc4f3940940fdb4691da0afb81648e353 100644
(file)
--- a/
t/helper/test-delta.c
+++ b/
t/helper/test-delta.c
@@
-69,7
+69,7
@@
int cmd_main(int argc, const char **argv)
}
fd = open (argv[4], O_WRONLY|O_CREAT|O_TRUNC, 0666);
- if (fd < 0 || write_in_full(fd, out_buf, out_size)
!= out_size
) {
+ if (fd < 0 || write_in_full(fd, out_buf, out_size)
< 0
) {
perror(argv[4]);
return 1;
}