]> source.dussan.org Git - jgit.git/commit
Move MemRefDatabase creation in a separate method. 16/197816/5
authorDmitrii Filippov <dmfilippov@google.com>
Tue, 31 Jan 2023 18:31:59 +0000 (13:31 -0500)
committerDmitrii Filippov <dmfilippov@google.com>
Tue, 31 Jan 2023 18:55:25 +0000 (13:55 -0500)
commit0f3a3fde95b59f4832c3ad4234f7c3f00e06e7a4
tree4f3073ce28062ba7f9407d63009df1367d8aef47
parenteb3a708676e3487bbd97df384c09595034034d7e
Move MemRefDatabase creation in a separate method.

The InMemoryRepository is used in tests (e.g. in gerrit tests) and it
can be useful to create a custom MemRefDatabase for some tests.

Change-Id: I6fbbbfe04400ea1edc988c8788c8eeb06ca8480a
org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/dfs/InMemoryRepository.java