daemon: make --inetd and --detach incompatible
commit9cddf56ef13c8575ac0c68d82e6196e5b0a2900d
authorErik Faye-Lund <kusmabite@gmail.com>
Thu, 4 Nov 2010 01:35:23 +0000 (4 02:35 +0100)
committerJunio C Hamano <gitster@pobox.com>
Thu, 4 Nov 2010 23:53:52 +0000 (4 16:53 -0700)
tree8cc2ad208f4c2bee352f8d3d44a522613a5e0cbe
parentc295cf06608cb07a132abef5802366522fd2f5e0
daemon: make --inetd and --detach incompatible

Since --inetd makes main return with the result of execute() before
daemonize is gets called, these two options are already incompatible.

Document it, and add an error if attempted.

Signed-off-by: Erik Faye-Lund <kusmabite@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-daemon.txt
daemon.c