Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
fast-import: add input format tests
[gitweb.git]
/
builtin
/
send-pack.c
diff --git
a/builtin/send-pack.c
b/builtin/send-pack.c
index e6a3495e1ce8f3ae635fbf53419798ac510791d4..c1f6ddd927d61fbc2558ee3624224af405d918c3 100644
(file)
--- a/
builtin/send-pack.c
+++ b/
builtin/send-pack.c
@@
-344,6
+344,8
@@
int send_pack(struct send_pack_args *args,
ref->status = REF_STATUS_NONE;
if (args->stateless_rpc)
close(out);
+ if (git_connection_is_socket(conn))
+ shutdown(fd[0], SHUT_WR);
if (use_sideband)
finish_async(&demux);
return -1;