Community
Participate
Working Groups
If a folder in location for a shared repository already exists, the repository won't be initialized[1], and all operations on the repository will fail (including pull). If a folder in location for a private repository already exists, the repository won't be cloned, and adding new files to the private repository will result with an exception. Methods [1] and [2] should be fixed to be more accurate. [1] org.eclipse.filesystem.git.GitFileStore.initBare() [2] org.eclipse.filesystem.git.GitFileStore.isCloned()
Added folderForPrivateRepoAlreadyExist() and folderForSharedRepoAlreadyExist() to GitFileStoreTest. Both of them are failing at the moment.
Created attachment 187015 [details] Fix v01
Created attachment 187016 [details] mylyn/context/zip
Checking if the given location contains a valid repository with: org.eclipse.jgit.lib.RepositoryCache.FileKey.isGitRepository(File, FS).
Merged and pushed to dev.eclipse.org.