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
threads / patch / 22581
Subject: Re: [PATCH] Support working directory located at root
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
On 2/9/10, Johannes Sixt <j6t@kdbg.org> wrote:
> 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