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, 02:49 UTC
Message-ID
<fcaeb9bf1002081849m5aacc55fo52e5119548d8d704@mail.gmail.com>
In-Reply-To
<fcaeb9bf1002081818s53f8646ev80afbaa37f039e50@mail.gmail.com>
2010/2/9 Nguyen Thai Ngoc Duy <pclouds@gmail.com>:
Show 7 quoted lines
> But I suspect my change in this code is not enough and caused
> the problem (on msys?) for Hannes. If the worktree somehow is '//' and
> sanitized is '/etc/resolv.conf', then we could end up eating two
> chars, leading to "'tc/resolv.conf' not match" error.
>
> Hannes, can you put a "printf("%s\n", work_tree);" in prefix_path() to
> see if it's the case?
Silly me. You used relative path, so that code path was untouched.
-- 
Duy
Previous: Nguyen Thai Ngoc DuyNext: Johannes Sixt
Message 4 of 5 in “Support working directory located at root”
  1. Support working directory located at rootNguyễn Thái Ngọc Duy, Feb 8, 2010
  2. Junio C HamanoFeb 8, 2010
  3. Nguyen Thai Ngoc DuyFeb 9, 2010
  4. Nguyen Thai Ngoc DuyFeb 9, 2010
  5. Johannes SixtFeb 8, 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.