diff --git a/doc/bugs/Metadata_views_in_v6_repo_upgraded_from_direct_mode_act_strangely/comment_3_e9c819759cc930088c82e6ed7a038a26._comment b/doc/bugs/Metadata_views_in_v6_repo_upgraded_from_direct_mode_act_strangely/comment_3_e9c819759cc930088c82e6ed7a038a26._comment new file mode 100644 index 0000000000..4a4440b755 --- /dev/null +++ b/doc/bugs/Metadata_views_in_v6_repo_upgraded_from_direct_mode_act_strangely/comment_3_e9c819759cc930088c82e6ed7a038a26._comment @@ -0,0 +1,8 @@ +[[!comment format=mdwn + username="https://openid-provider.appspot.com/iakornfeld" + nickname="iakornfeld" + subject="Looking at code" + date="2018-05-15T19:01:10Z" + content=""" +I was going to try to program this, and https://git.kitenet.net/index.cgi/git-annex.git/tree/Annex/AdjustedBranch.hs appears to have (some?) code already. If the problem has to do with it not being immutable, I was thinking of adding a `filter.*.drop` option. This would, for all filters that have this property matching the file, be called like a normal git filter when the file gets dropped. On the v6 repository filter, there would be a drop filter that's a no-op outside an adjusted branch and would remove it from the adjusted branch when on one. Other uses could include backing up dropped files to a slow, local drive (like a portable NAS with a low-RPM drive?) when they're dropped in the background, so that they wouldn't have to be redownloaded when your main server is unavailable/remote. +"""]]