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

Re: Bug: [hostname:port]:repo.git notation no longer works (for ssh)

From: Duy Nguyen <hidden>
Date: 2016-06-15 22:58:54

On Fri, Sep 27, 2013 at 3:07 PM, Morten Stenshorne [off-list ref] wrote:
I've just upgraded to Debian testing (jessie), and with that I got a
brand new (for me) git version:

    $ git --version
    git version 1.8.4.rc3

Some of my repos I use an ssh tunnel to reach, so when I want to reach a
repo forwarded to local port 2223, using the ssh protocol, the following
used to work (.git/config) in older git versions:

    [remote "exp"]
            url = [localhost:2223]:blink.git
            fetch = +refs/heads/*:refs/remotes/exp/*

However, now I get this message:

    $ git fetch exp
    fatal: ':blink.git' does not appear to be a git repository
    fatal: Could not read from remote repository.
Ugh.. bisect pointed to my commit 6000334 (clone: allow cloning local
paths with colons in them - 2013-05-04). Will have a closer look
tonight.
-- 
Duy
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help