summaryrefslogtreecommitdiff
path: root/bisect.c
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2011-05-16 02:52:11 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2011-05-16 16:20:01 -0700
commit7ffe853b106680720ddec999e1daf5c186997a1f (patch)
treeaa8f55a2816c515f502018acbbaef30992afe8c0 /bisect.c
parentconnect: treat generic proxy processes like ssh processes (diff)
downloadtgif-7ffe853b106680720ddec999e1daf5c186997a1f.tar.xz
connect: let callers know if connection is a socket
They might care because they want to do a half-duplex close. With pipes, that means simply closing the output descriptor; with a socket, you must actually call shutdown. Instead of exposing the magic no_fork child_process struct, let's encapsulate the test in a function. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'bisect.c')
0 files changed, 0 insertions, 0 deletions