From 2b7dd0beebca40e6b67d3aed53d519ba4fa18aef Mon Sep 17 00:00:00 2001 From: Gus Date: Thu, 3 Nov 2016 18:13:54 +0000 Subject: [PATCH] Added a comment: Why overwrite the files? --- ..._3c9dd1e2586b27911422066ca71f5298._comment | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 doc/forum/Problems_with_FAT_links/comment_5_3c9dd1e2586b27911422066ca71f5298._comment diff --git a/doc/forum/Problems_with_FAT_links/comment_5_3c9dd1e2586b27911422066ca71f5298._comment b/doc/forum/Problems_with_FAT_links/comment_5_3c9dd1e2586b27911422066ca71f5298._comment new file mode 100644 index 0000000000..67f9466567 --- /dev/null +++ b/doc/forum/Problems_with_FAT_links/comment_5_3c9dd1e2586b27911422066ca71f5298._comment @@ -0,0 +1,20 @@ +[[!comment format=mdwn + username="Gus" + avatar="http://cdn.libravatar.org/avatar/665626c67ab3ee7e842183f6f659e120" + subject="Why overwrite the files?" + date="2016-11-03T18:13:54Z" + content=""" +Thank you for looking into my problem. + +My version of git-annex is recent, and `core.symlinks` is set to *false*. So it must have been something else. I too have not been able to reproduce the error. It seems this problem will remain a mystery for now. + +----- + +On a related matter, when I `git-annex drop` a file on FAT direct mode, the file is replaced by the symlink-like file. I would like to understand the rational for that. I think that, on the past, `git-annex` may have added that file (or better, *I* may have done so, with a less careful `add`) and replaced the file's contents. + +I think that replacing the \"good\" data of a file with something \"useless\" is counter-intuitive, and may trip people. I would expect `git-annex drop` to either remove the file or to leave it alone for manual removal or manipulation. + +As you seem quite careful about the possibility of data loss, it seems there is a relevant detail that I am failing to grasp. Even if the \"proper\" way to remove a file in FAT direct mode is to use `rm`, `git-annex drop` does not seem like a bad choice. + +Would you mind saying a few words about this, Joey? I feel a bit uneasy without understanding *why* the file is overwritten. +"""]] -- 2.30.2