From: Junio C Hamano Date: Sun, 31 May 2009 04:53:06 GMT Subject: Re: [PATCH v6 2/3] compat: add a basename() compatibility function Message-ID: <7vbpp9vpot.fsf@alter.siamese.dyndns.org> In-Reply-To: <20090531044246.GA23995@gmail.com> David Aguilar 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()?