git-annex/Command
Joey Hess 0da2507fd6 improve direct mode fsck
An earlier commit (mislabeled) made direct mode fsck check file checksums.
While it's expected for files to change at any time in direct mode, and so
fsck cannot complain every time there's a checksum mismatch, it is possible
for it to detect when a file does not *seem* to have changed, then check
its checksum, and so detect disk corruption or other problems.

This commit improves that, by checking a second time, if the checksum
fails, that the file is still not modified, before taking action. This way,
a direct mode file can be modified while being fscked.
2013-01-08 15:07:00 -04:00
..
Add.hs addurl in direct mode 2013-01-06 17:34:44 -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 more descriptive name for oneshot 2012-09-15 20:46:38 -04:00
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 lint 2011-11-11 01:52:58 -04:00
Direct.hs convert notBareRepo to a CommandCheck 2012-12-29 14:45:19 -04:00
Drop.hs More commands work in direct mode repositories: find, whereis, move, copy, drop, log. 2013-01-05 17:17:04 -04:00
DropKey.hs more descriptive name for oneshot 2012-09-15 20:46:38 -04:00
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 improve direct mode fsck 2013-01-08 15:07:00 -04:00
Get.hs --auto fixes 2012-12-06 13:22:16 -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 improve alwayscommit=false mode 2012-02-25 16:18:55 -04:00
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 optimize pre-commit in direct mode 2013-01-06 16:56:55 -04:00
RecvKey.hs typo 2012-09-19 17:10:22 -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 clean up check selection code 2011-10-29 15:19:05 -04:00
SendKey.hs Got object sending working in direct mode. 2012-12-08 17:03:39 -04:00
Status.hs type based git config handling for remotes 2013-01-01 13:58:14 -04:00
Sync.hs type based git config handling for remotes 2013-01-01 13:58:14 -04:00
TransferInfo.hs fixes for transfer resume 2012-09-24 13:18:16 -04:00
TransferKey.hs quiet calls to transferkey 2012-09-24 13:36:05 -04:00
Trust.hs clean up check selection code 2011-10-29 15:19:05 -04:00
Unannex.hs block all commands that don't work in direct mode 2012-12-29 14:28:19 -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 clean up check selection code 2011-10-29 15:19:05 -04:00
Unused.hs type based git config handling for remotes 2013-01-01 13:58:14 -04:00
Upgrade.hs clean up check selection code 2011-10-29 15:19:05 -04:00
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 convert notBareRepo to a CommandCheck 2012-12-29 14:45:19 -04: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