Re: [PATCH v7 6/9] submodule: fix detection of invalid submodule URL
On Tue, May 29, 2012 at 5:01 AM, Johannes Sixt <j6t@kdbg.org> wrote:
Show 17 quoted lines
> Am 27.05.2012 17:34, schrieb Jon Seymour:
>
> Without understanding in detail what this series is about, I would guess
> that the previous two case arms are not very Windows friendly. Does the
> right thing happen when $remoteurl is "c:/path/to/remote"? Would it help
> to use is_absolute_path?
>
> if is_absolute_path "$remoteurl"
> then
> variant="${remoteurl#*/}"
> else
> case "$remoteurl" in
> ...other cases go here...
> esac
> fi
>
> -- HannesThanks, I will investigate this as an alternative.
jon.