git-annex/Command
Joey Hess 57780cb3a4 Clean up direct mode cache and mapping info when dropping keys.
These files were left behind, and made getKeysPresent find keys that were
not present. It would be expensive to make getKeysPresent check that the
actual key files are present (it just lists the directories). But that's not
needed if we just clean up the stale cache and mapping files.

To handle systems that were in direct mode and got switched back with stale
direct mode files, made cleanObjectLoc remove all files in the key's directory.

git annex unused will still list keys that are gone but for which the stale
direct mode files exists. To deal with that, made dropunused remove the key's
directory even if the key does not seem to be present.
2013-02-07 08:28:40 -04:00
..
Add.hs assistant: Fix location log when adding new file in direct mode. 2013-02-05 13:41:48 -04:00
AddUnused.hs block all commands that don't work in direct mode 2012-12-29 14:28:19 -04:00
AddUrl.hs addurl in direct mode 2013-01-06 17:34:44 -04:00
Assistant.hs where indentation 2012-11-12 01:05:04 -04:00
Commit.hs where indentation 2012-11-12 01:05:04 -04:00
ConfigList.hs
Copy.hs More commands work in direct mode repositories: find, whereis, move, copy, drop, log. 2013-01-05 17:17:04 -04:00
Dead.hs dead: Remove dead repository from all groups. 2012-10-10 15:39:13 -04:00
Describe.hs
Direct.hs convert notBareRepo to a CommandCheck 2012-12-29 14:45:19 -04:00
Drop.hs Clean up direct mode cache and mapping info when dropping keys. 2013-02-07 08:28:40 -04:00
DropKey.hs
DropUnused.hs webapp and assistant glacier support 2012-11-24 16:30:15 -04:00
Find.hs More commands work in direct mode repositories: find, whereis, move, copy, drop, log. 2013-01-05 17:17:04 -04:00
Fix.hs guard readSymbolicLink 2013-01-05 16:07:27 -04:00
FromKey.hs convert notBareRepo to a CommandCheck 2012-12-29 14:45:19 -04:00
Fsck.hs fsck: Detect and fix consistency errors in direct mode mapping files. 2013-01-19 14:11:23 -04:00
Get.hs drop: Suggest using git annex move when numcopies prevents dropping a file. 2013-01-09 18:53:59 -04:00
Group.hs simplify 2012-10-01 15:17:21 -04:00
Help.hs where indentation 2012-11-12 01:05:04 -04:00
Import.hs convert notBareRepo to a CommandCheck 2012-12-29 14:45:19 -04:00
InAnnex.hs where indentation 2012-11-12 01:05:04 -04:00
Indirect.hs convert notBareRepo to a CommandCheck 2012-12-29 14:45:19 -04:00
Init.hs where indentation 2012-11-12 01:05:04 -04:00
InitRemote.hs whitespace fixes 2012-12-13 00:45:27 -04:00
Lock.hs block all commands that don't work in direct mode 2012-12-29 14:28:19 -04:00
Log.hs More commands work in direct mode repositories: find, whereis, move, copy, drop, log. 2013-01-05 17:17:04 -04:00
Map.hs where indentation 2012-11-12 01:05:04 -04:00
Merge.hs
Migrate.hs block all commands that don't work in direct mode 2012-12-29 14:28:19 -04:00
Move.hs More commands work in direct mode repositories: find, whereis, move, copy, drop, log. 2013-01-05 17:17:04 -04:00
PreCommit.hs pre-commit: Update direct mode mappings. 2013-02-06 12:44:19 -04:00
RecvKey.hs safe recv-key in direct mode 2013-01-11 16:03:45 -04:00
Reinject.hs block all commands that don't work in direct mode 2012-12-29 14:28:19 -04:00
ReKey.hs block all commands that don't work in direct mode 2012-12-29 14:28:19 -04:00
Semitrust.hs
SendKey.hs Special remotes now all rollback storage of keys that get modified during the transfer, which can happen in direct mode. 2013-01-09 18:42:29 -04:00
Status.hs type based git config handling for remotes 2013-01-01 13:58:14 -04:00
Sync.hs avoid queueing rm of no files 2013-02-05 15:11:05 -04:00
TransferInfo.hs
TransferKey.hs
Trust.hs
Unannex.hs uninit, unannex --fast: If hard link creation fails, fall back to slow mode. 2013-02-06 14:02:18 -04:00
Ungroup.hs simplify 2012-10-01 15:17:21 -04:00
Uninit.hs block all commands that don't work in direct mode 2012-12-29 14:28:19 -04:00
Unlock.hs block all commands that don't work in direct mode 2012-12-29 14:28:19 -04:00
Untrust.hs
Unused.hs type based git config handling for remotes 2013-01-01 13:58:14 -04:00
Upgrade.hs
Version.hs where indentation 2012-11-12 01:05:04 -04:00
Vicfg.hs vicfg: Quote filename. Closes: #696193 2012-12-18 12:19:24 -04:00
Watch.hs convert notBareRepo to a CommandCheck 2012-12-29 14:45:19 -04:00
WebApp.hs webapp: Now allows restarting any threads that crash. 2013-01-26 17:09:33 +11:00
Whereis.hs More commands work in direct mode repositories: find, whereis, move, copy, drop, log. 2013-01-05 17:17:04 -04:00
XMPPGit.hs flush stdout 2012-11-09 14:33:34 -04:00