devblog
This commit is contained in:
parent
af8546990d
commit
453ffe7317
1 changed files with 20 additions and 0 deletions
20
doc/devblog/day_495__move_numcopies_safety.mdwn
Normal file
20
doc/devblog/day_495__move_numcopies_safety.mdwn
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
New version released today with adb special remote, http connection
|
||||||
|
caching, improved progress displays, annex.retry, and other changes.
|
||||||
|
|
||||||
|
I've been rethinking `git annex move` in the context of numcopies
|
||||||
|
checking. Thanks to a user posting
|
||||||
|
[[forum/git-annex_move_does_not_appear_to_respect_numcopies]].
|
||||||
|
Of course, move is known not to do that, but it's useful to get a
|
||||||
|
perspective that this is susprising behavior and not wanted by that user,
|
||||||
|
and poorly documented besides.
|
||||||
|
|
||||||
|
So, I added `git annex move --safe` which does honor numcopies, so
|
||||||
|
it only does a copy when there are not enough copies to move.
|
||||||
|
|
||||||
|
I'm leaning toward making that the default behavior, and
|
||||||
|
needing `git annex move --unsafe` to get the current behavior of moving
|
||||||
|
without a net. Of course, lots of us probably use move and like the current
|
||||||
|
behavior, and such a change can break workflows and scripts.
|
||||||
|
There might be a transition period where move warns when run without --safe
|
||||||
|
or --unsafe. Feedback welcomed on the bug report
|
||||||
|
[[bugs/move_violates_numcopies]].
|
Loading…
Add table
Reference in a new issue