Я пытаюсь интегрировать Git в мое существующее приложение RCP. Для этого я импортировал плагины egit.core и egit.io в качестве исходного проекта в мое приложение, и когда я пытался зафиксировать файл с помощью egit commit () из класса CommitOperation Classя получаю следующее исключение:
Caused by: org.eclipse.jgit.api.errors.JGitInternalException: Entry not found by path: D:\Test\file.txt
at org.eclipse.jgit.api.CommitCommand.createTemporaryIndex(CommitCommand.java:414)
at org.eclipse.jgit.api.CommitCommand.call(CommitCommand.java:194)
at org.eclipse.egit.core.op.CommitOperation.commit(CommitOperation.java:255)
... 39 more
И когда я отлаживал код, чтобы выяснить, где происходит исключение, это происходит в CommitCommand.class в следующем пункте
// there must be no unprocessed paths left at this point; otherwise an
// untracked or unknown path has been specified
for (int i = 0; i < onlyProcessed.length; i++)
if (!onlyProcessed[i])
throw new JGitInternalException(MessageFormat.format(
JGitText.get().entryNotFoundByPath, only.get(i)));
Понятия не имею, что здесь подразумевается под необработанным путем?Я могу получить доступ к пути.Может кто-нибудь помочь мне, как продолжить