git-annex/Annex
Joey Hess 829ae91009
fix failing git-annex unused test case in v6
WorkTree.lookupFile was finding a key for a file that's deleted from the
work tree, which is different than the v5 behavior (though perhaps the same
as the direct mode behavior). Fix by checking that the work tree file exists
before catting its key.

Hopefully this won't slow down much, probably the catKey is much more expensive.
I can't see any way to optimise this, except perhaps to make Command.Unused
check if work tree files exist before/after calling lookupFile. But,
it seems better to make lookupFile really only find keys for worktree files;
that's what it's intended to do.
2015-12-30 14:23:31 -04:00
..
Branch update my email address and homepage url 2015-01-21 12:50:09 -04:00
Content wip v6 support for assistant 2015-12-21 18:41:15 -04:00
LockPool add missing checkSaneLock wrapper for pidlocks 2015-11-16 15:35:41 -04:00
MetaData update my email address and homepage url 2015-01-21 12:50:09 -04:00
View update my email address and homepage url 2015-01-21 12:50:09 -04:00
Action.hs temporarily remove cached keys database connection 2015-12-16 14:05:26 -04:00
AutoMerge.hs flush queue before cleaning cruft 2015-12-29 17:35:57 -04:00
BloomFilter.hs use bloom filter in second pass of sync --all --content 2015-06-16 18:50:13 -04:00
Branch.hs Avoid unncessary write to the location log when a file is unlocked and then added back with unchanged content. 2015-10-12 14:46:47 -04:00
BranchState.hs simplify and make more atomic 2015-04-10 15:16:17 -04:00
CatFile.hs improve comment 2015-12-26 13:47:36 -04:00
CheckAttr.hs refactor 2015-04-10 17:53:58 -04:00
CheckIgnore.hs refactor 2015-04-10 17:53:58 -04:00
Concurrent.hs merge git command queue when joining with concurrent thread 2015-11-05 18:21:48 -04:00
Content.hs fix inode cache consistency bug when a merge unlocks a present file 2015-12-29 16:26:27 -04:00
Difference.hs a few hlints 2015-04-11 00:10:34 -04:00
Direct.hs reorg 2015-12-15 15:34:28 -04:00
DirHashes.hs a few hlints 2015-04-11 00:10:34 -04:00
Drop.hs get associated files from Keys database 2015-12-26 15:09:53 -04:00
Environment.hs update my email address and homepage url 2015-01-21 12:50:09 -04:00
FileMatcher.hs avoid unnecessary reading of git-annex branch data when matching on annex.largefiles 2015-12-04 15:06:41 -04:00
Fixup.hs avoid using --literal-pathspecs with git older than 1.8.1 which added it 2015-04-06 13:46:11 -04:00
Hook.hs Added a post-update-annex hook, which is run after the git-annex branch is updated. Needed for git update-server-info. 2015-03-20 14:52:58 -04:00
Index.hs update my email address and homepage url 2015-01-21 12:50:09 -04:00
Ingest.hs annex.thin 2015-12-27 15:59:59 -04:00
Init.hs Use git-annex init --version=6 to get v6 for now 2015-12-15 17:17:13 -04:00
InodeSentinal.hs wip v6 support for assistant 2015-12-21 18:41:15 -04:00
Journal.hs update my email address and homepage url 2015-01-21 12:50:09 -04:00
Link.hs always format pointer file with a trailing newline 2015-12-10 16:06:58 -04:00
LockFile.hs convert from Utility.LockPool to Annex.LockPool everywhere 2015-11-12 18:13:37 -04:00
LockPool.hs pid locking configuration and abstraction layer for git-annex 2015-11-12 17:50:34 -04:00
MakeRepo.hs Use git-annex init --version=6 to get v6 for now 2015-12-15 17:17:13 -04:00
MetaData.hs a few hlints 2015-04-11 00:10:34 -04:00
Notification.hs a few hlints 2015-04-11 00:10:34 -04:00
NumCopies.hs also generate a drop safety proof for move --from remote 2015-10-09 16:16:03 -04:00
Path.hs Fix bug introduced in the last release that broke git-annex sync when git-annex was installed from the standalone tarball. 2015-03-27 12:55:18 -04:00
Perms.hs unused import 2015-10-08 14:59:34 -04:00
Queue.hs merge git command queue when joining with concurrent thread 2015-11-05 18:21:48 -04:00
Quvi.hs remove Params constructor from Utility.SafeCommand 2015-06-01 13:52:23 -04:00
ReplaceFile.hs annex.thin 2015-12-27 15:59:59 -04:00
SpecialRemote.hs enableremote: List uuids and descriptions of remotes that can be enabled, and accept either the uuid or the description in leu if the name. 2015-10-26 14:55:40 -04:00
Ssh.hs convert from Utility.LockPool to Annex.LockPool everywhere 2015-11-12 18:13:37 -04:00
TaggedPush.hs Fix setting/setting/viewing metadata that contains unicode or other special characters, when in a non-unicode locale. 2015-08-11 18:40:59 -04:00
Transfer.hs add missing checkSaneLock wrapper for pidlocks 2015-11-16 15:35:41 -04:00
Url.hs update my email address and homepage url 2015-01-21 12:50:09 -04:00
UUID.hs Avoid displaying network transport warning when a ssh remote does not yet have an annex.uuid set. 2015-10-15 15:36:54 -04:00
VariantFile.hs update my email address and homepage url 2015-01-21 12:50:09 -04:00
Version.hs Use git-annex init --version=6 to get v6 for now 2015-12-15 17:17:13 -04:00
View.hs cleanup 2015-12-26 15:09:47 -04:00
Wanted.hs import Data.Default in Common 2015-01-28 16:11:28 -04:00
WorkTree.hs fix failing git-annex unused test case in v6 2015-12-30 14:23:31 -04:00