Re: [PATCH 2/2] daemon: Verify base-path and interpolated-path early
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Feb 25, 2008, 19:39 UTC
- Message-ID
- <7vejb0j04z.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <47C2C23D.1030609@viscovery.net>
Johannes Sixt <j.sixt@viscovery.net> writes:
Show 6 quoted lines
> Any request to the daemon would fail if either interpolated-path or > base-path (if specified) would not be absolute. Hence, we can check those > paths for validity upfront and not start the daemon at all if the paths are > invalid. > > Additionally, we now check that the base-path is an existing directory.
Looks good. Thanks.