Re: git checkout with an ambiguous rev

2019-10-02 Thread Rohit Sarkar
On Wed, Oct 02, 2019 at 05:32:13PM +0530, Rohit Sarkar wrote: > Hi, > I was looking into writing a patch for the issue [1] where if an user has > multiple remotes each with a remote tracking branch of the same name say > xyz, 'git checkout xyz' fails with "error: paths

git checkout with an ambiguous rev

2019-10-02 Thread Rohit Sarkar
Hi, I was looking into writing a patch for the issue [1] where if an user has multiple remotes each with a remote tracking branch of the same name say xyz, 'git checkout xyz' fails with "error: pathspec 'xyz' did not match any file(s) known to git." This can sort of be handled by setting checkout.