threads / patch / 22581

patchRe: [PATCH] Support working directory located at root

Subject: Re: [PATCH] Support working directory located at root

## tl;dr

2 messages between Feb 9, 2010 and Feb 9, 2010. Diffs are folded; open one to read it.

replies: 1people: 2as markdown or json

Johannes Sixt· Feb 9, 2010, 07:16 UTC · lore
Nguyen Thai Ngoc Duy schrieb:
> But I suspect my change in this code is not enough and caused
> the problem (on msys?) for Hannes.
My test was on Linux, btw, roughly:

cd / git init cd etc git add resolv.conf

-- Hannes
Nguyen Thai Ngoc Duy· Feb 9, 2010, 12:27 UTC · re: Johannes Sixt · lore
On 2/9/10, Johannes Sixt <j6t@kdbg.org> wrote:
Show 12 quoted lines
> Nguyen Thai Ngoc Duy schrieb:
>
> > But I suspect my change in this code is not enough and caused
>  > the problem (on msys?) for Hannes.
>
>
> My test was on Linux, btw, roughly:
>
>  cd /
>  git init
>  cd etc
>  git add resolv.conf
OK. Just a wild guess since you're mingw port guy :-)

I changed offset near the end of setup_git_*_gently, and in turn screwed up prefix calculation. I probably forgot to unset GIT_WORK_TREE while testing. Will work on a test script first before getting back to the patch. I think I can solve the DOS drive case too. Just checking, UNC path is not affected, right?

-- 
Duy

← back to recent threads