aboutsummaryrefslogtreecommitdiffstats
path: root/cache
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2022-12-29 10:26:47 +0100
committerMichael Muré <batolettre@gmail.com>2022-12-29 10:26:47 +0100
commitc9009b52990d86c6d2589b786b6545488e8ae6ef (patch)
tree378b255e07158643e5a498c50a62bf2241181ebf /cache
parentd11ea5c2adec0fd92be30d3e3bdd1b5679d4118c (diff)
downloadgit-bug-c9009b52990d86c6d2589b786b6545488e8ae6ef.tar.gz
commands: don't double build the lamport clocks
Diffstat (limited to 'cache')
-rw-r--r--cache/subcache.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/cache/subcache.go b/cache/subcache.go
index 7757ce82..6a9559ef 100644
--- a/cache/subcache.go
+++ b/cache/subcache.go
@@ -139,6 +139,8 @@ func (sc *SubCache[EntityT, ExcerptT, CacheT]) Load() error {
return fmt.Errorf("count mismatch between bleve and %s excerpts", sc.namespace)
}
+ // TODO: find a way to check lamport clocks
+
return nil
}