diff options
author | Joey Hess <joey@kitenet.net> | 2013-10-27 15:38:59 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2013-10-27 15:38:59 -0400 |
commit | 73d1f889c0b6d63fefcc3296bcd0402b1caed419 (patch) | |
tree | 83a383a64477bdc3c1e64b2fc60ae2db81f475b3 /Types | |
parent | ab9fbc09ed26e5e18ce0097236c41bb34f04d16c (diff) |
assistant: Support repairing git remotes that are locally accessible
(eg, on removable drives)
gcrypt remotes are not yet handled.
This commit was sponsored by Sören Brunk.
Diffstat (limited to 'Types')
-rw-r--r-- | Types/Remote.hs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Types/Remote.hs b/Types/Remote.hs index fedfb366a..9afcbbe55 100644 --- a/Types/Remote.hs +++ b/Types/Remote.hs @@ -69,6 +69,8 @@ data RemoteA a = Remote { -- without transferring all the data to the local repo -- The parameters are passed to the fsck command on the remote. remoteFsck :: Maybe ([CommandParam] -> a (IO Bool)), + -- Runs an action to repair the remote's git repository. + repairRepo :: Maybe (a Bool -> a (IO Bool)), -- a Remote has a persistent configuration store config :: RemoteConfig, -- git repo for the Remote |