Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jgit-dev] Invalid Path Problem


Today we got an unclonable repository, since somebody manage to checking a directory "" (notice the period) instead of "". We cannot clone and/or create a new branch from origin/master after this appeared in the repo. With the CLI this works.

Ideas? isValidPath() seems to check some with "." in paths, something wrong?

Error while cloning repository

java.lang.RuntimeException: org.eclipse.jgit.dircache.InvalidPathException: Invalid path:
       at com.wamas.ide.git.GitRepositoryUtils.cloneRepository(
       at com.wamas.ide.git.ui.CloneRepositoryDialog$
       at org.eclipse.jface.operation.ModalContext$
Caused by: org.eclipse.jgit.dircache.InvalidPathException: Invalid path:
       at org.eclipse.jgit.dircache.DirCacheCheckout.processEntry(
       at org.eclipse.jgit.dircache.DirCacheCheckout.prescanOneTree(
       at org.eclipse.jgit.dircache.DirCacheCheckout.doCheckout(
       at org.eclipse.jgit.dircache.DirCacheCheckout.checkout(
       at org.eclipse.jgit.api.CloneCommand.checkout(
       at com.wamas.ide.git.GitRepositoryUtils.cloneRepository(
       ... 2 more


Back to the top