From 6c3a1f25f6970db43ebde2ecabafece0e72605ee Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 18 Dec 2012 15:07:35 -0400 Subject: update --- doc/design/assistant/desymlink.mdwn | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/doc/design/assistant/desymlink.mdwn b/doc/design/assistant/desymlink.mdwn index 48d307920..54b7c9800 100644 --- a/doc/design/assistant/desymlink.mdwn +++ b/doc/design/assistant/desymlink.mdwn @@ -94,10 +94,14 @@ is converted to a real file when it becomes present. * Update location logs for any files deleted by a commit. **done** * Generate a git merge, without running `git merge` (or possibly running it in a scratch repo?), because it will stumble over the direct files. + **done** * Drop contents of files deleted by a merge (including updating the location log), or if we cannot drop, - move their contents to `.git/annex/objects/`. + move their contents to `.git/annex/objects/`. **no** .. instead, + avoid ever losing file contents in a direct mode merge. If the file is + deleted, its content is moved back to .git/annex/objects, if necessary. * When a merge adds a symlink pointing at a key that is present in the repo, replace the symlink with the direct file (either moving out of `.git/annex/objects/` or hard-linking if the same key is present - elsewhere in the tree. + elsewhere in the tree. **done** + * handle merge conflicts on direct mode files -- cgit v1.2.3