Thread (4 messages) flat view 4 messages, 2 authors, 2016-06-15

Re: [RFC] submodule: fix handling of supermodules with relative origin URLs.

From: Jon Seymour <hidden>
Date: 2016-06-15 22:53:50

On Fri, May 18, 2012 at 10:13 PM, Jon Seymour [off-list ref] 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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help