diff options
author | Joey Hess <joey@kitenet.net> | 2012-01-19 15:24:05 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2012-01-19 15:24:05 -0400 |
commit | 90319afa41ca6d8a9ffe00d787dc3dcdff320f00 (patch) | |
tree | 68b9a324b9feb7ed45cc7ab24dc82e120cc26ff3 /Command/Drop.hs | |
parent | d36525e9745b90cc04abfeac6500ff646cb9c89b (diff) |
fsck --from
Fscking a remote is now supported. It's done by retrieving
the contents of the specified files from the remote, and checking them,
so can be an expensive operation.
(Several optimisations are possible, to speed it up, of course.. This is
the slow and stupid remote fsck to start with.)
Still, if the remote is a special remote, or a git repository that you
cannot run fsck in locally, it's nice to have the ability to fsck it.
If you have any directory special remotes, now would be a good time to
fsck them, in case you were hit by the data loss bug fixed in the
previous release!
Diffstat (limited to 'Command/Drop.hs')
-rw-r--r-- | Command/Drop.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Command/Drop.hs b/Command/Drop.hs index 578ab62b9..b40de00cb 100644 --- a/Command/Drop.hs +++ b/Command/Drop.hs @@ -87,7 +87,7 @@ cleanupRemote key remote ok = do -- better safe than sorry: assume the remote dropped the key -- even if it seemed to fail; the failure could have occurred -- after it really dropped it - Remote.logStatus remote key False + Remote.logStatus remote key InfoMissing return ok {- Checks specified remotes to verify that enough copies of a key exist to |