Joey Hess a écrit :
> > > What does your insteadOf configuration and remote url look like?
> > 
> > [url "ssh://user@server/~/"]
> >     insteadOf = labhome:
> 
> Sorry, what? That's not valid git.config syntax afaik. When I put that
> in .git/config, git says: "fatal: bad config file line 40 in .git/config"
> The url in square brackets makes no sense; the insteadOf line seems to
> be missing a leading "url.<base>."
> 

Well, if I do a 'git config -l', I get:

  url.ssh://user@server/~/.insteadof=labhome

and git does not complain so I'd say the configuration is correct. Also,
most of my repositories use this (global) configuration and work
properly. <base> is "ssh://user@server/~/" if I understand correctly. I
also tried setting this using:

  git config url.ssh://user@server/~/.insteadOf labhome:

which leads to the same thing in .git/config.

-- 
Denis Laxalde



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to