This commit is contained in:
Joey Hess 2016-11-07 13:32:15 -04:00
parent 5afc2eaa54
commit 844d4a7435
No known key found for this signature in database
GPG key ID: C910D9222512E3C7

View file

@ -0,0 +1,18 @@
[[!comment format=mdwn
username="joey"
subject="""comment 1"""
date="2016-11-07T17:25:10Z"
content="""
In general, git-annex silently skips files that are not known to git,
or are not annexed files. That's what's happening here.
This skipping behavior can sometimes be confusing, if you are not
familiar with it. But it's also very convenient. For example `git annex
unlock *` will unlock only annexed files and not complain about any other
files; `git annex unlock .` will recursively unlock only annexed files and not
complain about non-annexed files or files that are already unlocked.
In your example, git-annex has no way to tell that the file has been
renamed; a file that has never been added to git would look the same
to it as that renamed file.
"""]]