diff options
author | 2013-10-28 16:56:01 -0400 | |
---|---|---|
committer | 2013-10-28 16:56:01 -0400 | |
commit | 39163cb024b49a0214c104d4fe21b778bbd63eaa (patch) | |
tree | d6ff5978d5cac09dac14231a5d423a6784102dfa /doc/bugs | |
parent | d93d453c3c4d41d446970db21b1d504b3690adb6 (diff) |
unannex: New, much slower, but more safe behavior
Copies files out of the annex. This avoids an unannex of one file breaking
other files that link to the same content. Also, it means that the content
remains in the annex using up space until cleaned up with "git annex
unused".
(The behavior of unannex --fast has not changed; it still hard
links to content in the annex. --fast was not made the default because it
is potentially unsafe; editing such a hard linked file can unexpectedly
change content stored in the annex.)
Diffstat (limited to 'doc/bugs')
-rw-r--r-- | doc/bugs/Large_unannex_operations_result_in_stale_symlinks_and_data_loss.mdwn | 7 | ||||
-rw-r--r-- | doc/bugs/Of_identical_files__44___all_but_the_first_copy_are_lost_on_unannex.mdwn | 2 |
2 files changed, 9 insertions, 0 deletions
diff --git a/doc/bugs/Large_unannex_operations_result_in_stale_symlinks_and_data_loss.mdwn b/doc/bugs/Large_unannex_operations_result_in_stale_symlinks_and_data_loss.mdwn index 630db722b..2629a7d56 100644 --- a/doc/bugs/Large_unannex_operations_result_in_stale_symlinks_and_data_loss.mdwn +++ b/doc/bugs/Large_unannex_operations_result_in_stale_symlinks_and_data_loss.mdwn @@ -48,3 +48,10 @@ For this reason, it seems likely this is due to some sort of race condition. This is on Ubuntu 12.04 with git-annex revision a1e2bc4. +> There was no good soluton to this, so I picked a bad one that +> will not have users complainging git-annex ate their data. +> They will complain that `git annex unannex` is slow since it now copies +> the file, and perhaps instead use --fast, and hopefully avoid destroying +> their own data by editing the resulting hard links. +> +> [[done]] --[[Joey]] diff --git a/doc/bugs/Of_identical_files__44___all_but_the_first_copy_are_lost_on_unannex.mdwn b/doc/bugs/Of_identical_files__44___all_but_the_first_copy_are_lost_on_unannex.mdwn index 8c13a88ac..3860456d2 100644 --- a/doc/bugs/Of_identical_files__44___all_but_the_first_copy_are_lost_on_unannex.mdwn +++ b/doc/bugs/Of_identical_files__44___all_but_the_first_copy_are_lost_on_unannex.mdwn @@ -50,3 +50,5 @@ Now file1.txt is a normal 6-byte file again, but 2, 3, and 4 are broken symlinks git-annex 4.20130802 package on Debian GNU/Linux jessie/sid (testing), amd64. + +> [[dup|done]] --[[Joey]] |