From: Jon Seymour Date: Fri, 18 May 2012 12:16:57 GMT Subject: Re: [RFC] submodule: fix handling of supermodules with relative origin URLs. Message-ID: In-Reply-To: <1337343220-26717-1-git-send-email-jon.seymour@gmail.com> On Fri, May 18, 2012 at 10:13 PM, Jon Seymour wrote: > -       remoteurl=${remoteurl%/} > +       up_path="$(echo "$2" | sed "s/[^/]*/../g")" > +       remoteurl=${remoteurl%/*} Oops - didn't mean to change remoteurl here. > +                               remoteurl="${up_path%/}/${remoteurl%/*}" Meant up_path%/ to be up_path%/* jon