Community
Participate
Working Groups
Steps: 1) Clone a repo that needs credentials 2) Add another remote to the repo. Make sure that it requires different credentials than this in 1) 3) Try "Git Pull" on remote 1). You are asked to provide credentials for remote 1), when you provide it, the operation continues. 4) Try "Git Pull" on remote 2). You are asked to provide credentials for remote 2), when you provide it, the operation does not continue and keeps asking for the credentials. 5) Try to provide credentials for 1) instead and it continues now. I was chatting with Tomek about the issue. It seems that our Git Pull API should rather POST on a clone instead of POST on a remote. It seems that JGit pull operation consults the clone configuration and is not called against any specific remote. I think we should make the change in our API and move "Git Pull" action on the git repo view to clone objects.
Created attachment 208771 [details] mylyn/context/zip
The action has been moved to Clones with 1408576998ff1afc89aa830f1c6399e4a9bdaefe (server) and d73fe200ba3d395ddfd8812c4f31dede72fcc749 (client).