From 35e9318418a7161faa6d1b21b1c9cc0ea14eb6d6 Mon Sep 17 00:00:00 2001 From: AlbertZeyer Date: Wed, 6 Jan 2021 11:15:43 +0000 Subject: [PATCH] Added a comment --- ...nt_2_716efb07d216d9a063bb9498c8e76ea1._comment | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 doc/forum/Reverse_index_key_to_list_of_file_paths/comment_2_716efb07d216d9a063bb9498c8e76ea1._comment diff --git a/doc/forum/Reverse_index_key_to_list_of_file_paths/comment_2_716efb07d216d9a063bb9498c8e76ea1._comment b/doc/forum/Reverse_index_key_to_list_of_file_paths/comment_2_716efb07d216d9a063bb9498c8e76ea1._comment new file mode 100644 index 0000000000..45f73bfee5 --- /dev/null +++ b/doc/forum/Reverse_index_key_to_list_of_file_paths/comment_2_716efb07d216d9a063bb9498c8e76ea1._comment @@ -0,0 +1,15 @@ +[[!comment format=mdwn + username="AlbertZeyer" + avatar="http://cdn.libravatar.org/avatar/b37d71961a6a5abf9b7184ed77b5a941" + subject="comment 2" + date="2021-01-06T11:15:42Z" + content=""" +Thanks for the answer. + +How does `git status` checks for changes? I feel it is quite fast at that. + +So you could update the persistent database by post-commit hook, and have a temporary virtual overlay when used which takes current staged changes also into account. And maybe you can also add a `--fast` option, which would skip this part, because the user probably knows when to expect staged changes. + +I think this would be pretty useful. This would also change somewhat the whole way how I would use the Annex. I expect that I have this case quite often, that some file content is referenced from multiple file paths. + +"""]] -- 2.30.2