Re: git remote rename problem with trailing \\ for remote.url config entries (on Windows)

2018-04-10 Thread Junio C Hamano
Johannes Schindelin writes: > A quick test with my `empty-config-section` patch series shows that it > addresses this issue. A quick bisec confirms that the patch with the > online "git_config_set: make use of the config parser's event stream" is > responsible for

Re: git remote rename problem with trailing \\ for remote.url config entries (on Windows)

2018-04-10 Thread Johannes Schindelin
Hi, [I know, blast from the past...] On Mon, 13 Feb 2017, Junio C Hamano wrote: > Marc Strapetz writes: > > > One of our users has just reported that: > > > > $ git remote rename origin origin2 > > > > will turn following remote entry: > > > > [remote "origin"] > >

Re: git remote rename problem with trailing \\ for remote.url config entries (on Windows)

2017-02-13 Thread Junio C Hamano
Marc Strapetz writes: > One of our users has just reported that: > > $ git remote rename origin origin2 > > will turn following remote entry: > > [remote "origin"] > url = c:\\repo\\ > fetch = +refs/heads/*:refs/remotes/origin/* > > into following entry for

git remote rename problem with trailing \\ for remote.url config entries (on Windows)

2017-02-13 Thread Marc Strapetz
One of our users has just reported that: $ git remote rename origin origin2 will turn following remote entry: [remote "origin"] url = c:\\repo\\ fetch = +refs/heads/*:refs/remotes/origin/* into following entry for which the url is skipped: [remote "origin2"] [remote