From: Nguyen Thai Ngoc Duy Date: Thu, 07 Oct 2010 05:53:33 GMT Subject: Re: [PATCH 2/2] worktree: provide better prefix to go back to original cwd Message-ID: In-Reply-To: <4cad50da.0e958e0a.40e3.5efd@mx.google.com> On Thu, Oct 7, 2010 at 11:46 AM, wrote: > +               /* Worktree and cwd are on different drives? */ > +               if (len == 3 && has_dos_drive_prefix(cwd)) { > +                       if (startup_info) { > +                               /* make_path_to_path will add the trailing slash */ > +                               startup_info->cwd_to_worktree = make_path_to_path(NULL, worktree); > +                               startup_info->worktree_to_cwd = make_path_to_path(NULL, cwd); > +                       } > +                       return NULL; > +               } Went for lunch and realized this code is just wrong. Gaahh.. -- Duy