skeleton git-lfs special remote
This is a special remote and a git remote at the same time; git can pull and push to it and git-annex can use it as a special remote. Remote.Git has to check if it's configured as a git-lfs special remote and sets it up as one if so. Object methods not implemented yet.
This commit is contained in:
parent
9c20a8792d
commit
1cef791cf3
6 changed files with 145 additions and 0 deletions
|
@ -263,6 +263,7 @@ data RemoteGitConfig = RemoteGitConfig
|
|||
, remoteAnnexAndroidDirectory :: Maybe FilePath
|
||||
, remoteAnnexAndroidSerial :: Maybe String
|
||||
, remoteAnnexGCrypt :: Maybe String
|
||||
, remoteAnnexGitLFS :: Bool
|
||||
, remoteAnnexDdarRepo :: Maybe String
|
||||
, remoteAnnexHookType :: Maybe String
|
||||
, remoteAnnexExternalType :: Maybe String
|
||||
|
@ -321,6 +322,7 @@ extractRemoteGitConfig r remotename = do
|
|||
, remoteAnnexAndroidDirectory = notempty $ getmaybe "androiddirectory"
|
||||
, remoteAnnexAndroidSerial = notempty $ getmaybe "androidserial"
|
||||
, remoteAnnexGCrypt = notempty $ getmaybe "gcrypt"
|
||||
, remoteAnnexGitLFS = getbool "git-lfs" False
|
||||
, remoteAnnexDdarRepo = getmaybe "ddarrepo"
|
||||
, remoteAnnexHookType = notempty $ getmaybe "hooktype"
|
||||
, remoteAnnexExternalType = notempty $ getmaybe "externaltype"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue