Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'lt/unitype'
[gitweb.git]
/
upload-pack.c
diff --git
a/upload-pack.c
b/upload-pack.c
index 2e820c9c85cf750d57760251aa62237a5173c526..f6f5a7e3db6d45f3f174220fff682cd9fbf0ed72 100644
(file)
--- a/
upload-pack.c
+++ b/
upload-pack.c
@@
-51,6
+51,10
@@
static ssize_t send_client_data(int fd, const char *data, ssize_t sz)
if (fd == 3)
/* emergency quit */
fd = 2;
+ if (fd == 2) {
+ xwrite(fd, data, sz);
+ return sz;
+ }
return safe_write(fd, data, sz);
}
p = data;