summaryrefslogtreecommitdiff
path: root/Annex/ReplaceFile.hs
Commit message (Collapse)AuthorAge
* test suite passes in direct modeGravatar Joey Hess2013-05-17
This fixes a bug with git annex add in direct mode. If some files already existed in the tree pointing at the same key as a file that was just added, and their content was not present, add neglected to copy the content to those files. I also changed the behavior of moveAnnex slightly: When content is moved into the annex in direct mode, it does not overwrite any content already present in direct mode files. That content may be modified after all.