author | Alexander Sulfrian <alexander@sulfrian.net> | |
Mon, 30 Aug 2010 11:30:51 +0000 (13:30 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 28 Sep 2010 18:05:35 +0000 (11:05 -0700) | ||
commit | 3a3a29c1da97b36dda2761c2e6b61c1a82e20a54 | |
tree | 73d9d0d387c78607b4e2decfcc22a6554939895b | tree | snapshot |
parent | 2caa321503cbb6dfd3867d5befe615ae541a77b3 | commit | diff |
daemon: allow more than one host address given via --listen
When the host has more than one interfaces, daemon can listen to all
of them by not giving any --listen option, or listen to only one.
Teach it to accept more than one --listen options.
Remove the hostname information form the die, if no socket could be
created. It would only trigger when no interface out of either all
interface or the ones specified on the command line with --listen
options, can be listened to and so the user does know which "host" was
asked.
Signed-off-by: Alexander Sulfrian <alexander@sulfrian.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
When the host has more than one interfaces, daemon can listen to all
of them by not giving any --listen option, or listen to only one.
Teach it to accept more than one --listen options.
Remove the hostname information form the die, if no socket could be
created. It would only trigger when no interface out of either all
interface or the ones specified on the command line with --listen
options, can be listened to and so the user does know which "host" was
asked.
Signed-off-by: Alexander Sulfrian <alexander@sulfrian.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-daemon.txt | diff | blob | history | |
daemon.c | diff | blob | history |