close as dup

This commit is contained in:
Joey Hess 2021-02-08 14:19:43 -04:00
parent 6bc24b1bce
commit 8f3554a7a8
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
2 changed files with 18 additions and 0 deletions

View file

@ -3,3 +3,6 @@ At the FAT disks annex uses ajusted unlocked branch. Files use double space: in
# As I wonder
At such disks, with option annex.thin, annex uses only file tree for keeping content. Content of the files in the .git folder is wiped.
> [[done]], dup of other todo, and I don't know how to avoid the problem
> with git deleting the file. --[[Joey]]

View file

@ -0,0 +1,15 @@
[[!comment format=mdwn
username="joey"
subject="""comment 1"""
date="2021-02-08T18:17:00Z"
content="""
This has the following problem: You run git pull. A file got deleted. git
deletes the file in the repository directory. That was the only copy of the
content, so it's now impossible to revert the deletion and get the file
back, which you're supposed to be able to do.
This is why git-annex has to either make a copy or hard link the file
away for safekeeping.
As already discussed in [[annex.thin without hardlinks]].
"""]]