Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
gc: do not repack promisor packfiles
[gitweb.git]
/
builtin
/
receive-pack.c
diff --git
a/builtin/receive-pack.c
b/builtin/receive-pack.c
index 65e38a72776c557af3c794c06f4598867a422338..cc4876740569c6e495b7cb32161d019619171d79 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);