|Re: [jgit-dev] Using InMemoryRepository|
|Not all repositories support a work tree - in fact, at the moment the FileRepository is the only one that does as far as I know. You’d have to write custom implementations to achieve the effect you want.|
You should be able to use the RevWalk and TreeWalk to process a repository without needing a work tree though. That’s how the UI for things like the Google source page is generated:
What are you trying to do and why do you want to use InMemoryRepository to do it?
On 29 Mar 2015, at 13:22, Monmohan Singh <monmohan@xxxxxxxxx> wrote: