Community
Participate
Working Groups
org.eclipse.orion.internal.server.filesystem.git.Utils.isValidRemote(GitFileStore), which called before listing children names and fetching info, seems to be redundant. Since we make a remote connection anyway there is no need do to it twice (check and then do the call). Instead, we could gracefully handle an eventual exception thrown when doing the remote call. Other actions like push or pull are doing fine without checking first if the remote is valid.
Once removed the access modifier for org.eclipse.orion.server.filesystem.git.GitFileStore.getCredentialsProvider() should be set back to private.
Created attachment 188042 [details] Fix v01 The fix doesn't help much when working with local repositories.
Created attachment 188043 [details] mylyn/context/zip
Fixed with 793b6106b616027c8c8896dcfef09567c1d7385a.