diff options
author | Joey Hess <joeyh@joeyh.name> | 2015-12-07 14:35:46 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2015-12-07 14:41:22 -0400 |
commit | 42a370de0544e65fc1f150d3b2406b6683b7e5e1 (patch) | |
tree | 036b3f66c983a33f3dc2915892cf0821eff65010 /doc | |
parent | d71bdba6009d522db726121b17980a3d32919f74 (diff) |
update associated files database on smudge and clean
Diffstat (limited to 'doc')
-rw-r--r-- | doc/todo/smudge.mdwn | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/todo/smudge.mdwn b/doc/todo/smudge.mdwn index d08d600ae..74a143580 100644 --- a/doc/todo/smudge.mdwn +++ b/doc/todo/smudge.mdwn @@ -275,13 +275,14 @@ In particular: * Is the smudge filter called at any other time? Seems unlikely but then there could be situations with a detached work tree or such. * Does git call any useful hooks when removing a file from the work tree, - or converting it to not be annexed? + or converting it to not be annexed, or for `git mv` of an annexed file? No! From this analysis, any file map generated by the smudge/clean filters is necessary potentially innaccurate. It may list deleted files. It may or may not reflect current unstaged changes from the work tree. + Follows that any use of the file map needs to verify the info from it, and throw out bad cached info (updating the map to match reality). |