git-daemon: re-organize code a bit for --inetd flag
authorLinus Torvalds <torvalds@g5.osdl.org>
Fri, 15 Jul 2005 16:27:05 +0000 (09:27 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 15 Jul 2005 16:27:05 +0000 (09:27 -0700)
commit7d80694af1a68ee1915e36bad9b26fa9fe054f06
tree3a3d0d7cc4f7449950ee1d13845893a348411be8
parente68b6f1525c670f474d735009fec419473df0962
git-daemon: re-organize code a bit for --inetd flag

Alexey Nezhdanov sent a patch that made git-daemon usable from inetd (ie
where inetd has already done the accept on the new connection, the fork,
and the setup of stdin/stdout).  I wanted to organize the thing slightly
differently, though.
daemon.c