thought
This commit is contained in:
parent
72ccdbf91d
commit
6cfbe33d88
1 changed files with 21 additions and 0 deletions
|
@ -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
|
||||||
|
"""]]
|
Loading…
Add table
Add a link
Reference in a new issue