diff --git a/doc/bugs/Deleting_last_copy_of_files_doesn__39__t_mark_them_dead.mdwn b/doc/bugs/Deleting_last_copy_of_files_doesn__39__t_mark_them_dead.mdwn index 9ca1e09e43..34fb1c4f35 100644 --- a/doc/bugs/Deleting_last_copy_of_files_doesn__39__t_mark_them_dead.mdwn +++ b/doc/bugs/Deleting_last_copy_of_files_doesn__39__t_mark_them_dead.mdwn @@ -45,3 +45,5 @@ Additionally the key will still remain in the `git-annex` branch, I'm not sure a ### Have you had any luck using git-annex before? (Sometimes we get tired of reading bug reports all day and a lil' positive end note does wonders) I'm using git annex to manage all my personal data, thanks for making such an amazing piece of software :) + +> [[notabug|done]] --[[Joey]] diff --git a/doc/bugs/Deleting_last_copy_of_files_doesn__39__t_mark_them_dead/comment_4_39e375d942289b07116600f1a22da5be._comment b/doc/bugs/Deleting_last_copy_of_files_doesn__39__t_mark_them_dead/comment_4_39e375d942289b07116600f1a22da5be._comment new file mode 100644 index 0000000000..6185eef978 --- /dev/null +++ b/doc/bugs/Deleting_last_copy_of_files_doesn__39__t_mark_them_dead/comment_4_39e375d942289b07116600f1a22da5be._comment @@ -0,0 +1,25 @@ +[[!comment format=mdwn + username="joey" + subject="""comment 4""" + date="2020-05-07T15:56:38Z" + content=""" +`git annex get` will only complain about files that are still in the +current branch. If you want to use `--all` though, you will have to mark +such files as dead. git-annex otherwise has no way to differentiate between +the last copy of a file being lost inaverdently and intentionally removed. + +Auto-deading files would hide problems. + +> even marking it as dead is still tracking the deadness of the file + +You can use git-annex forget to prune that information from the git-annex +branch, but it's completely reasonable for a git repository to retain +history by default. + +> Leaving aside what the status is called, how about detecting it +> automatically on `dropunused` + +Unused files are only unused in the head of branches, not in all the +history of the git repository. Again, git is all about preserving the +history of files. +"""]]