]> dgit.raspbian.org Git - git-annex.git/blob
26d2ff01f3d56ed2a2f019619e38c6b417fe3102
[git-annex.git] /
1 [[!comment format=mdwn
2  username="joey"
3  subject="""comment 3"""
4  date="2017-09-26T19:16:29Z"
5  content="""
6 Hmm, if the file was not already in the index, that could be taken to
7 indicate it was deleted/moved and replaced, rather than being modified,
8 and so don't copy the metadata.
9
10 But that would make these two sequences have different behavior:
11
12         git rm file; echo foo > file; git annex add file
13
14         echo foo > file; git annex add file
15
16 As well as these two sequences:
17
18         git mv file other; echo foo > file; git annex add file
19
20         cp file other; echo foo > file; git annex add file other
21 """]]