git-annex/Annex
Joey Hess 602baae12e Bugfix: Direct mode no longer repeatedly checksums duplicated files.
Fixed by storing a list of cached inodes for a key, instead of just one.

Backwards compatability note: An old git-annex version will fail to parse
an inode cache file that has been written by a new version, and has
multiple items. It will succees if just one. So old git-annexes will have
even worse behavior when there are duplicated files, if that is possible.
I don't think it will be a problem. (Famous last words.)

Also, note that it doesn't expire old and unused inode caches for a key.
It would be possible to add this if needed; just look through the
associated files for a key and if there are more cached inodes, throw out
any not corresponding to associated files. Unless a file is being copied
repeatedly and the old copy deleted, this lack of expiry should not be a
problem.
2013-04-06 16:07:25 -04:00
..
Content Bugfix: Direct mode no longer repeatedly checksums duplicated files. 2013-04-06 16:07:25 -04:00
Branch.hs hlint 2013-04-03 03:52:41 -04:00
BranchState.hs remove git-annex branch read cache 2012-10-19 14:25:15 -04:00
CatFile.hs work around a very strange git-cat-file behavior 2013-01-05 17:06:24 -04:00
CheckAttr.hs finished where indentation changes 2012-12-13 00:24:19 -04:00
Content.hs Use lower case hash directories for storing files on crippled filesystems, same as is already done for bare repositories. 2013-04-04 15:46:33 -04:00
Direct.hs Bugfix: Direct mode no longer repeatedly checksums duplicated files. 2013-04-06 16:07:25 -04:00
Exception.hs fixes for transfer resume 2012-09-24 13:18:16 -04:00
FileMatcher.hs hlint 2013-04-03 03:52:41 -04:00
Journal.hs finished where indentation changes 2012-12-13 00:24:19 -04:00
Link.hs Update working tree files fully atomically 2013-04-02 15:02:00 -04:00
LockPool.hs finished where indentation changes 2012-12-13 00:24:19 -04:00
Perms.hs fix 2013-02-24 17:40:14 -04:00
Queue.hs type based git config handling for remotes 2013-01-01 13:58:14 -04:00
Ssh.hs hlint 2013-04-03 03:52:41 -04:00
TaggedPush.hs tag xmpp pushes with jid 2013-03-06 16:29:19 -04:00
UUID.hs Now uses the Haskell uuid library, rather than needing a uuid program. 2013-02-10 14:52:54 -04:00
Version.hs annex.version is now set to 4 for direct mode repositories 2013-02-26 15:13:10 -04:00
Wanted.hs --auto fixes 2012-12-06 13:22:16 -04:00