diff options
author | 2014-05-29 15:23:05 -0400 | |
---|---|---|
committer | 2014-05-29 15:23:05 -0400 | |
commit | 1f6cfecc972b121fa42ea80383183bbaccc2195a (patch) | |
tree | 0a450c4226f5e05c2a3597a9f520376de281fffe /doc/bugs/Switching_from_indirect_mode_to_direct_mode_breaks_duplicates.mdwn | |
parent | a95fb731cd117f35a6e0fce90d9eb35d0941e26e (diff) |
remove old closed bugs and todo items to speed up wiki updates and reduce size
Remove closed bugs and todos that were least edited before 2014.
Command line used:
for f in $(grep -l '\[\[done\]\]' *.mdwn); do if [ -z $(git log --since=2014 --pretty=oneline "$f") ]; then git rm $f; git rm -rf $(echo "$f" | sed 's/.mdwn$//'); fi; done
Diffstat (limited to 'doc/bugs/Switching_from_indirect_mode_to_direct_mode_breaks_duplicates.mdwn')
-rw-r--r-- | doc/bugs/Switching_from_indirect_mode_to_direct_mode_breaks_duplicates.mdwn | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/doc/bugs/Switching_from_indirect_mode_to_direct_mode_breaks_duplicates.mdwn b/doc/bugs/Switching_from_indirect_mode_to_direct_mode_breaks_duplicates.mdwn deleted file mode 100644 index 55d2b13b9..000000000 --- a/doc/bugs/Switching_from_indirect_mode_to_direct_mode_breaks_duplicates.mdwn +++ /dev/null @@ -1,30 +0,0 @@ -#What steps will reproduce the problem? - -1. Create a new repository in indirect mode. - -2. Add the same file twice under a different name. Now you have two symlinks pointing to the same file under .git/annex/objects/ - -3. Switch to direct mode. The first symlink gets replaced by the actual file. The second stays unchanged, pointing to nowhere. But git annex whereis still reports it has a copy. - -4. Delete the first file. Git annex whereis still thinks it has a copy of file 2, which is not true -> data loss. - -#What is the expected output? What do you see instead? - -When switching to direct mode, both symlinks should be replaced by a copy (or at least a hardlink) of the actual file. - -> The typo that caused this bug is fixed. --[[Joey]] - -#What version of git-annex are you using? On what operating system? - -3.20130107 on Arch Linux x64 - -#Please provide any additional information below. - -The deduplication performed by git-annex is very dangerous in itself -because files with identical content become replaced by references to the -same file without the user necessarily being aware. Think of the user -making a copy of a file, than modifying it. He would expect to end up with -two files, the unchanged original and the modified copy. But what he really -gets is two symlinks pointing to the same modified file. - -> I agree, it now copies rather than hard linking. [[done]] --[[Joey]] |