owncloud/core — pull request #619 by samtuke (2012-11-28 17:06:15+00:00)
Title: OC_FSV->copy now only caches files which are copied from data/user/files

Fix for issue: https://github.com/owncloud/core/issues/327

To prevent VCS backup files being unnecessarily tracked in the file cache, I added a check that allows only files copied from data/user/files to be cached by ->copy. AFAIK there are no other uses of ->copy that would need caching to be used outside of the above scenario. Also added some contextual comments.

Please review @schiesbn, @blizzz