daemon: ensure that base-path is an existing directory
commit20632071560ad4915f4e620d3c053e5ee3af80f3
authorJohannes Sixt <j.sixt@viscovery.net>
Tue, 26 Feb 2008 12:00:55 +0000 (26 13:00 +0100)
committerJunio C Hamano <gitster@pobox.com>
Wed, 27 Feb 2008 22:47:36 +0000 (27 14:47 -0800)
tree92dff6108921a232c7b9d8618e4f2f968fc8af1b
parent22665bbaab799b1f20a23039a5c759cd35d36939
daemon: ensure that base-path is an existing directory

Any request to the daemon would fail if base-path (if specified) is not
a directory. We now check for this condition early.

Signed-off-by: Johannes Sixt <johannes.sixt@telecom.at>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
daemon.c