git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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
Previous: Johannes Sixt
Message 2 of 2 in “Re: [PATCH] Support working directory located at root”
  1. Johannes SixtFeb 9, 2010
  2. Nguyen Thai Ngoc DuyFeb 9, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.