diff options
author | Michael Muré <batolettre@gmail.com> | 2020-11-08 19:18:44 +0100 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2021-02-14 12:17:47 +0100 |
commit | ab57d74a312f325b9d889752aa92c00c395de20f (patch) | |
tree | b54b204f7f7ccb64181051b58cc01ddeed42e1be /cache/repo_cache.go | |
parent | 7163b2283b4542a4d4abfe9a71963f122322bde7 (diff) | |
download | git-bug-ab57d74a312f325b9d889752aa92c00c395de20f.tar.gz git-bug-ab57d74a312f325b9d889752aa92c00c395de20f.zip |
deal with the previous changes
Diffstat (limited to 'cache/repo_cache.go')
-rw-r--r-- | cache/repo_cache.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cache/repo_cache.go b/cache/repo_cache.go index b5b9ee54..ab3e1bcb 100644 --- a/cache/repo_cache.go +++ b/cache/repo_cache.go @@ -18,7 +18,8 @@ import ( // 1: original format // 2: added cache for identities with a reference in the bug cache // 3: no more legacy identity -const formatVersion = 3 +// 4: entities make their IDs from data, not git commit +const formatVersion = 4 // The maximum number of bugs loaded in memory. After that, eviction will be done. const defaultMaxLoadedBugs = 1000 |