On Fri, Sep 7, 2012 at 12:34 AM, Junio C Hamano wrote:
> Modulo that I suspect you could get rid of offset_1st_component()
> altogether and has_dos_drive_prefix() return the length of the "d:"
> or "//d" part (which needs to be copied literally regardless of the
> "normalization"), what you sugges
On 09/05/2012 10:40 AM, Johannes Sixt wrote:
> Am 9/4/2012 10:14, schrieb mhag...@alum.mit.edu:
>> From: Michael Haggerty
>>
>> These tests already pass, but make sure they don't break in the
>> future.
>>
>> Signed-off-by: Michael Haggerty
>> ---
>>
>> It would be great if somebody would check w
Nguyen Thai Ngoc Duy writes:
> Just an idea. We could unify "[a-z]:" and "//host" into "dos root"
> concept. That would teach other code paths about UNC paths too.
> ...
> diff --git a/path.c b/path.c
> index 66acd24..0e4e2d7 100644
> --- a/path.c
> +++ b/path.c
> @@ -498,11 +498,12 @@ const char
On Wed, Sep 05, 2012 at 08:23:58PM -0700, Junio C Hamano wrote:
> Nguyen Thai Ngoc Duy writes:
>
> > diff --git a/path.c b/path.c
> > index 66acd24..ad2881c 100644
> > --- a/path.c
> > +++ b/path.c
> > @@ -503,6 +503,10 @@ int normalize_path_copy(char *dst, const char *src)
> > *d
Nguyen Thai Ngoc Duy writes:
> diff --git a/path.c b/path.c
> index 66acd24..ad2881c 100644
> --- a/path.c
> +++ b/path.c
> @@ -503,6 +503,10 @@ int normalize_path_copy(char *dst, const char *src)
> *dst++ = *src++;
> *dst++ = *src++;
> }
> +#ifdef WIN32
>
On Wed, Sep 5, 2012 at 6:05 PM, Orgad and Raizel Shaneh
wrote:
> This seems to fix it. Just change src[x] == '/' to is_dir_sep(src[x]).
So you are able to test the changes. Would you mind submitting a patch
so other users benefit it as well?
--
Duy
--
To unsubscribe from this list: send the line
On Wed, Sep 5, 2012 at 1:19 AM, Junio C Hamano wrote:
> mhag...@alum.mit.edu writes:
>
>> From: Michael Haggerty
>>
>> These tests already pass, but make sure they don't break in the
>> future.
>>
>> Signed-off-by: Michael Haggerty
>> ---
>>
>> It would be great if somebody would check whether t
Am 9/4/2012 10:14, schrieb mhag...@alum.mit.edu:
> From: Michael Haggerty
>
> These tests already pass, but make sure they don't break in the
> future.
>
> Signed-off-by: Michael Haggerty
> ---
>
> It would be great if somebody would check whether these tests pass on
> Windows, and if not, giv
mhag...@alum.mit.edu writes:
> From: Michael Haggerty
>
> These tests already pass, but make sure they don't break in the
> future.
>
> Signed-off-by: Michael Haggerty
> ---
>
> It would be great if somebody would check whether these tests pass on
> Windows, and if not, give me a tip about how t
From: Michael Haggerty
These tests already pass, but make sure they don't break in the
future.
Signed-off-by: Michael Haggerty
---
It would be great if somebody would check whether these tests pass on
Windows, and if not, give me a tip about how to fix them.
t/t-basic.sh | 11 +++
10 matches
Mail list logo