[arch-general] git bug? (2.3.4-1)

Christian Hesse list at eworm.de
Wed Mar 25 13:00:36 UTC 2015


Magnus Therning <magnus at therning.org> on Wed, 2015/03/25 13:47:
> On Wed, Mar 25, 2015 at 12:47:30PM +0100, Christian Hesse wrote:
> > Magnus Therning <magnus at therning.org> on Wed, 2015/03/25 12:36:
> > > I thought I'd ask here before raising a ticket.
> > > 
> > > Is anyone else seeing this behaviour with git 2.3.4-1:
> > > 
> > > ~~~
> > > [I] % git fetch
> > > ssh: Could not resolve hostname build01:: Name or service not known
> > > fatal: Could not read from remote repository.
> > > 
> > > Please make sure you have the correct access rights
> > > and the repository exists.
> > > ~~~
> > > 
> > > Downgrading to 2.3.3-1 "solves" it.
> > 
> > What does the URL look like? You can get it for origin with:
> > 
> > % git remote show origin
> > 
> > I suppose you use a non-standard ssh port (or specified it nevertheless)
> > with host:port, no? man git-clone tells us to use something like:
> > 
> > ssh://[user@]host.xz[:port]/path/to/repo.git/
> 
> It looks like this:
> 
>     ssh://build01.evidente.local:/home/husqvarna/git/evi-cst.git
> 
> Nothing non-standard about that and it has worked fine with every
> version of git I've used the last 6 months or so, until the upgrade to
> 2.3.4... I really don't expect the format of remotes to change when
> going from 2.3.3 to 2.3.4!

This should read:

ssh://build01.evidente.local/home/husqvarna/git/evi-cst.git

So try to remove the colon after the hostname...

URL parsing changed from v2.3.3 to v2.3.4. It should not break, but probably
it was never intended to work the way you used it.
-- 
main(a){char*c=/*    Schoene Gruesse                         */"B?IJj;MEH"
"CX:;",b;for(a/*    Chris           get my mail address:    */=0;b=c[a++];)
putchar(b-1/(/*               gcc -o sig sig.c && ./sig    */b/42*2-3)*42);}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <https://lists.archlinux.org/pipermail/arch-general/attachments/20150325/d5cc64c3/attachment.asc>


More information about the arch-general mailing list