Subject: Re: [PATCH v6 2/3] compat: add a basename() compatibility function

From: Junio C Hamano <[email-masked]>
Date: Sat, 30 May 2009 21:53:06 -0700

David Aguilar <[email-masked]> writes:

>> +#ifdef USE_WIN32_FS
>> +	/* Skip over the disk name in MSDOS pathnames. */
>> +	if (isalpha(path[0]) && path[1] == ':')
>> +		path += 2;
>> +#endif
>
> Thanks for bearing through this series everyone.. ;)
>
> Can someone with better win32 knowledge let me know if the
> USE_WIN32_FS stuff is needed for msysgit?
>
> I would really like it if there was a way to do without the
> #define.

Isn't this essentially the same as has_dos_drive_prefix()?