git-annex/debian
Joey Hess 07580dc3df sync: Bug fix, avoid adding to the annex the dummy symlinks used on crippled filesystems.
The root of the problem is that toInodeCache sees a non-symlink, and so
goes on and generates a new inode cache for the dummy symlink.

Any place that toInodeCache, or sameFileStatus, or genInodeCache are called
may need to deal with this case. Although many of them are ok. For example,
prepSendAnnex calls sameInodeCache, which calls genInodeCache.. but if
the file content is not present, the InodeCache generated for its standin
file is appropriately not the same, and so it returns Nothing.

I've audited some, but have to say I'm not happy with this; it should be
handled at the type level somehow, or a toInodeCache wrapper be used that
is aware of dummy symlinks.

(The Watcher already dealt with it, via the guardSymlinkStandin function.)
2013-04-23 17:14:28 -04:00
..
changelog sync: Bug fix, avoid adding to the annex the dummy symlinks used on crippled filesystems. 2013-04-23 17:14:28 -04:00
compat debhelper v9 2012-01-15 14:53:38 -04:00
control new build dep 2013-04-16 19:00:44 -04:00
copyright clean up license file 2013-03-14 16:52:28 -04:00
doc-base Add doc-base file. Closes: #621408 2011-04-06 21:57:22 -04:00
NEWS releasing version 3.20120123 2012-01-23 15:09:50 -04:00
rules The version number is now derived from git, unless built with VERSION_FROM_CHANGELOG. 2013-04-10 16:53:38 -04:00