Re: [PATCH] Support working directory located at root
- From
Nguyen Thai Ngoc Duy <pclouds@gmail.com>
- Date
- Feb 9, 2010, 12:27 UTC
- Message-ID
- <fcaeb9bf1002090427g51754d16tb89b0ae5ba6cada8@mail.gmail.com>
- In-Reply-To
- <mtranet.20100209081652.392409790@telekom.at>
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