Re: [PATCH] Support working directory located at root
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