git-annex/Remote
Joey Hess 69e2e4763e
only check --force at init time, not enable time
git-lfs repos that encrypt the annexed content but not the git repo only
need --force passed to initremote, allow enableremote and autoenable of
such remotes without forcing again.

Needing --force again particularly made autoenable of such a repo not work.
And once such a repo has been set up, it seems a second --force when
enabling it elsewhere has little added value. It does tell the user about
the possibly insecure configuration, but if the git repo has already been
pushed to that remote in the clear, data has already been exposed. The goal
of that --force was not to prevent every situation where such an exposure
can happen -- anyone who sets up a public git repo and pushes to it will
expose things similarly and git-annex is not involved. Instead, the purpose
of the --force is to point out to the user that they're asking for a
configuration where encryption is inconsistently applied.
2020-05-07 15:59:29 -04:00
..
Directory some easy createDirectoryUnder conversions 2020-03-05 15:20:10 -04:00
External add LISTCONFIGS to external special remote protocol 2020-01-17 16:07:17 -04:00
Helper fix builds build 2020-03-10 13:50:46 -04:00
Rsync fix windows build 2020-01-01 14:27:03 -04:00
WebDAV more RawFilePath 2019-12-18 17:10:28 -04:00
Adb.hs adb: Better messages when the adb command is not installed 2020-04-02 10:48:28 -04:00
BitTorrent.hs fix encryption of content to gcrypt and git-lfs 2020-02-26 18:05:36 -04:00
Bup.hs fix all remaining -Wincomplete-uni-patterns warnings 2020-04-15 13:55:08 -04:00
Ddar.hs fix encryption of content to gcrypt and git-lfs 2020-02-26 18:05:36 -04:00
Directory.hs some easy createDirectoryUnder conversions 2020-03-05 15:20:10 -04:00
External.hs external: stop storing readonly=true in remote.log 2020-04-23 15:21:26 -04:00
GCrypt.hs Fix a potential failure to parse git config 2020-04-13 13:05:41 -04:00
Git.hs avoid beware of the leopard situation 2020-05-04 13:01:11 -04:00
GitLFS.hs only check --force at init time, not enable time 2020-05-07 15:59:29 -04:00
Glacier.hs fix encryption of content to gcrypt and git-lfs 2020-02-26 18:05:36 -04:00
Hook.hs fix encryption of content to gcrypt and git-lfs 2020-02-26 18:05:36 -04:00
List.hs Merge branch 'v7' 2020-02-26 18:15:18 -04:00
P2P.hs fix encryption of content to gcrypt and git-lfs 2020-02-26 18:05:36 -04:00
Rsync.hs mostly finished with createDirectoryUnder conversion 2020-03-06 11:57:15 -04:00
S3.hs S3: Support signature=v4 2020-05-07 13:18:11 -04:00
Tahoe.hs fix encryption of content to gcrypt and git-lfs 2020-02-26 18:05:36 -04:00
Web.hs fix encryption of content to gcrypt and git-lfs 2020-02-26 18:05:36 -04:00
WebDAV.hs webdav: Made exporttree remotes faster by caching connection to the server 2020-03-20 12:48:43 -04:00