(no commit message)
author9qf@758d7b174d81a134727acab9db0168c8f0782b3a <9qf@web>
Tue, 15 Jun 2021 12:21:19 +0000 (12:21 +0000)
committeradmin <admin@branchable.com>
Tue, 15 Jun 2021 12:21:19 +0000 (12:21 +0000)
doc/forum/Data_loss_if_symlink_target_edited.mdwn [new file with mode: 0644]

diff --git a/doc/forum/Data_loss_if_symlink_target_edited.mdwn b/doc/forum/Data_loss_if_symlink_target_edited.mdwn
new file mode 100644 (file)
index 0000000..9ea1ad3
--- /dev/null
@@ -0,0 +1,7 @@
+I am syncing two repos A and B. Will the following operations cause data loss:
+1. File 1 is locked in repo A, and its symlink target is edited without unlocking file 1.
+2. File 1 is unlocked and editted in repo B, followed by a git-annex add operation.
+3. Repo A and B are synced with git-annex sync --content
+Will the editing in step 1 be lost? If so, can you please do a git fsck on the file to be overwritten to at lease give a warning.
+
+I am using emacs su-mode, until recently have I found that su-mode let me edit the symlink target without unlocking.