From: Rémi Rampin Date: Tue, 03 Feb 2015 16:00:41 GMT Subject: Re: [PATCH 2/2] Makes _do_open2 set _gitdir to actual path Message-ID: <54D0F0A9.3080607@gmail.com> In-Reply-To: 2015-02-02 12:24 UTC-05:00, Remi Rampin : >> - return [_is_git [file join [file dirname $path] $link_target]] >> + set link_target_abs [file join [file dirname $path] $link_target] 2015-02-03 3:51 UTC-05:00, Chris Packham : > At this point link_target_abs is something like > sub/../.git/modules/sub. It might be nice to normalize this with 'git > rev-parse --git-dir' or even just (cd $link_target_abs && pwd). I'm > not sure if tcl has anything built in that could do this kind of > normalization. There is 'file normalize' according to the docs. I can update the patch if needed.