Added a comment: updating the keys database incrementally
authorIlya_Shlyakhter <Ilya_Shlyakhter@web>
Sat, 17 Apr 2021 22:23:45 +0000 (22:23 +0000)
committeradmin <admin@branchable.com>
Sat, 17 Apr 2021 22:23:45 +0000 (22:23 +0000)
doc/bugs/indeterminite_preferred_content_state_for_duplicated_file/comment_4_7cb10476879c599075e54ea8324ec82f._comment [new file with mode: 0644]

diff --git a/doc/bugs/indeterminite_preferred_content_state_for_duplicated_file/comment_4_7cb10476879c599075e54ea8324ec82f._comment b/doc/bugs/indeterminite_preferred_content_state_for_duplicated_file/comment_4_7cb10476879c599075e54ea8324ec82f._comment
new file mode 100644 (file)
index 0000000..690646b
--- /dev/null
@@ -0,0 +1,8 @@
+[[!comment format=mdwn
+ username="Ilya_Shlyakhter"
+ avatar="http://cdn.libravatar.org/avatar/1647044369aa7747829c38b9dcc84df0"
+ subject="updating the keys database incrementally"
+ date="2021-04-17T22:23:45Z"
+ content="""
+\"stat the index file, and if it's changed since last time, use git ls-files --cached to find all annexed files and update the keys database. But this could be quite slow.\"  -- could you instead record the tree-ish for which the database is valid (e.g. from the last commit or checkout), and then use [`git-diff`](https://git-scm.com/docs/git-diff)/[`git-diff-index`](https://git-scm.com/docs/git-diff-index)/[`git-status`](https://git-scm.com/docs/git-status) to update just the keys that changed? 
+"""]]