Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'bc/rev-parse-parseopt-fix'
[gitweb.git]
/
builtin
/
receive-pack.c
diff --git
a/builtin/receive-pack.c
b/builtin/receive-pack.c
index 65d89078ab885dce2838a4e01bca7205d804108a..29a0f3b75fb02dfa2a02c325816453e36baaa55a 100644
(file)
--- a/
builtin/receive-pack.c
+++ b/
builtin/receive-pack.c
@@
-743,7
+743,7
@@
static int run_and_feed_hook(const char *hook_name, feed_fn feed,
size_t n;
if (feed(feed_state, &buf, &n))
break;
- if (write_in_full(proc.in, buf, n)
!= n
)
+ if (write_in_full(proc.in, buf, n)
< 0
)
break;
}
close(proc.in);