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.
This commit is contained in:
parent
98ae3afc81
commit
7ed8e87a34
21 changed files with 132 additions and 75 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue