sync, assistant: Pull and push from git-lfs remotes.

Oversight, forgot to add it to gitSyncableRemote
This commit is contained in:
Joey Hess 2019-11-18 16:13:21 -04:00
parent 5877de5e80
commit b207d944f3
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
3 changed files with 8 additions and 4 deletions

View file

@ -7,6 +7,7 @@ git-annex (7.20191115) UNRELEASED; urgency=medium
an url. initremote --sameas can be used to add additional urls. an url. initremote --sameas can be used to add additional urls.
* git-lfs: When there's a git remote with an url that's known to be * git-lfs: When there's a git remote with an url that's known to be
used for git-lfs, automatically enable the special remote. used for git-lfs, automatically enable the special remote.
* sync, assistant: Pull and push from git-lfs remotes.
-- Joey Hess <id@joeyh.name> Fri, 15 Nov 2019 11:57:19 -0400 -- Joey Hess <id@joeyh.name> Fri, 15 Nov 2019 11:57:19 -0400

View file

@ -128,4 +128,8 @@ updateRemote remote = do
{- Checks if a remote is syncable using git. -} {- Checks if a remote is syncable using git. -}
gitSyncableRemote :: Remote -> Bool gitSyncableRemote :: Remote -> Bool
gitSyncableRemote r = remotetype r `elem` gitSyncableRemote r = remotetype r `elem`
[ Remote.Git.remote, Remote.GCrypt.remote, Remote.P2P.remote ] [ Remote.Git.remote
, Remote.GCrypt.remote
, Remote.P2P.remote
, Remote.GitLFS.remote
]

View file

@ -1,6 +1,5 @@
git annex sync with a git-lfs special remote does not pull or push. git annex sync with a git-lfs special remote does not pull or push.
It should. It should.
(Does gcrypt have the same problem, also being a special remote that's a
git repo?)
--[[Joey]] --[[Joey]]
> [[fixed|done]] --[[Joey]]