From 790fb2c051a8f3b79a68eeb36fa06a0d4e894bc2 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 27 May 2021 12:45:06 -0400 Subject: [PATCH] devblog --- .../day_639__major_keys_database_milestone.mdwn | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 doc/devblog/day_639__major_keys_database_milestone.mdwn diff --git a/doc/devblog/day_639__major_keys_database_milestone.mdwn b/doc/devblog/day_639__major_keys_database_milestone.mdwn new file mode 100644 index 0000000000..1915de45d8 --- /dev/null +++ b/doc/devblog/day_639__major_keys_database_milestone.mdwn @@ -0,0 +1,15 @@ +I've fallen completely out of practice on this dev blog, but I felt I had +to mention a major milestone accomplished over the past week. The database +that git-annex maintains about keys and worktree files used to only be +guaranteed to be maintained for unlocked files, but it did not have +information about locked files. Now it does, and it's automatically, and +efficiently (I hope) kept up-to-date. + +That let a long-standing bug get fixed, where when 2 files used the same +key, the preferred content expression could match one file and not the +other and cause get/drop to happen over and over. + +But there are probably a lot of other ways this database could be used, now +that's it's fully available. For example, it would be easy to write a +git-annex command that queries for which worktree files use a key, without +needing to scan the whole worktree to find them. -- 2.30.2