[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[jgit-dev] Using InMemoryRepository
- From: Monmohan Singh <monmohan@xxxxxxxxx>
- Date: Sat, 28 Mar 2015 17:32:44 +0800
- Delivered-to: firstname.lastname@example.org
When using FileRepository, I see we can use JGit porcelain equivalent of Git commands like add file, commit etc.Â
But there doesn't seem a way to set a WorkTree for InMemoryRepository. My understanding was that this (in-memory) storage is equivalent of .git folder in case of FileRepository .Â What is the way to add files to such a repo, using ObjectInserter?
Thanks in advance for the help :)Â