This commit is contained in:
Joey Hess 2018-04-10 13:15:43 -04:00
parent 1409a44f9c
commit 8f3b45b846
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38

View file

@ -0,0 +1,21 @@
[[!comment format=mdwn
username="joey"
subject="""comment 4"""
date="2018-04-10T17:04:14Z"
content="""
Candyangel, thanks, failing is indeed the better thing to do
than copying when it's not safe to move. That makes sense.
Also, `git annex move` should honor required contents, and refuse to move
content away from a repository that requires it.
It would be ok to use --force instead of --unsafe, but it doesn't allow for
a staged transition from --unsafe by default to --safe by default. But, if
we decide a stanged transition is not needed, I would be inclined to use
the --force.
Move failing in these situations seems less likely to badly break existing
workflows than move leaving both copies would; the caller will see
that git-annex errored, rather than it silently leaving extra copies.
So perhaps a staged transition could be skipped.
"""]]