This commit is contained in:
Joey Hess 2017-09-26 15:20:18 -04:00
parent 72ccdbf91d
commit 6cfbe33d88
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 3"""
date="2017-09-26T19:16:29Z"
content="""
Hmm, if the file was not already in the index, that could be taken to
indicate it was deleted/moved and replaced, rather than being modified,
and so don't copy the metadata.
But that would make these two sequences have different behavior:
git rm file; echo foo > file; git annex add file
echo foo > file; git annex add file
As well as these two sequences:
git mv file other; echo foo > file; git annex add file
cp file other; echo foo > file; git annex add file other
"""]]