mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[vcs-log] messages version also should depend on VcsLogStorage version, since it uses commit ids
This commit is contained in:
+1
-1
@@ -378,7 +378,7 @@ public class VcsLogPersistentIndex implements VcsLogIndex, Disposable {
|
||||
commits = new PersistentSetImpl<>(commitsStorage, EnumeratorIntegerDescriptor.INSTANCE, Page.PAGE_SIZE, null, version);
|
||||
Disposer.register(disposable, () -> catchAndWarn(commits::close));
|
||||
|
||||
File messagesStorage = getStorageFile(INDEX, MESSAGES, logId, MESSAGES_VERSION, true);
|
||||
File messagesStorage = getStorageFile(INDEX, MESSAGES, logId, VcsLogStorageImpl.VERSION + MESSAGES_VERSION, true);
|
||||
messages = new PersistentHashMap<>(messagesStorage, new IntInlineKeyDescriptor(), EnumeratorStringDescriptor.INSTANCE,
|
||||
Page.PAGE_SIZE);
|
||||
Disposer.register(disposable, () -> catchAndWarn(messages::close));
|
||||
|
||||
Reference in New Issue
Block a user